class_docstr: Encapsulates a single alert and handles serializing to Dynamo and merging.
class_docstr_tok: ["Encapsulates","a","single","alert","and","handles","serializing","to","Dynamo","and","merging","."]
docstr: Key (dict) used to lookup this alert in the alerts table.
docstr_tok: ["Key","(","dict",")","used","to","lookup","this","alert","in","the","alerts","table","."]
code: def dynamo_key(self):
      """Key (dict) used to lookup this alert in the alerts table."""
      return {"RuleName": self.rule_name, "AlertID": self.alert_id}
  
imports: from datetime import datetime, timedelta
  import json
  import uuid
  from streamalert.shared import resources, utils
label_desc: Use image node_id 5 for calling the Alert obj's underlying member method code with example usage: obj.dynamo_key() and returns: dict