class_docstr: Orchestrates delivery of alerts to the appropriate dispatchers.
class_docstr_tok: ["Orchestrates","delivery","of","alerts","to","the","appropriate","dispatchers","."]
docstr: Initialization logic that can be cached across invocations
docstr_tok: ["Initialization","logic","that","can","be","cached","across","invocations"]
code: def __init__(self):
      """Initialization logic that can be cached across invocations"""
      # Merge user-specified output configuration with the required output configuration
      output_config = load_config(include={"outputs.json"})["outputs"]
      self.config = resources.merge_required_outputs(
          output_config, env["STREAMALERT_PREFIX"]
      )
  
      self.alerts_table = AlertTable(env["ALERTS_TABLE"])
  
file_path: streamalert/streamalert/alert_processor/main.py
imports: from os import environ
  import backoff
  from botocore.exceptions import ClientError
  from streamalert.alert_processor.outputs.output_base import StreamAlertOutput
  from streamalert.shared import backoff_handlers, resources
  from streamalert.shared.alert import Alert, AlertCreationError
  from streamalert.shared.alert_table import AlertTable
  from streamalert.shared.config import load_config
  from streamalert.shared.logger import get_logger
  from streamalert.shared.normalize import Normalizer
label_desc: Use image node_id 2 to create a new AlertProcessor object  with example: obj = AlertProcessor()