docstr: Add the create-cluster-alarm subparser: manage.py create-cluster-alarm [options]
docstr_tok: ["Add","the","create-cluster-alarm","subparser",":","manage.py","create-cluster-alarm","[","options","]"]
code: def setup_subparser(cls, subparser):
      """Add the create-cluster-alarm subparser: manage.py create-cluster-alarm [options]"""
      set_parser_epilog(
          subparser,
          epilog=(
              """\
                  Other Constraints:
  
                      The product of the value for period multiplied by the value for evaluation
                      periods cannot exceed 86,400. 86,400 is the number of seconds in one day and
                      an alarm's total current evaluation period can be no longer than one day.
  
                  Example:
  
                      manage.py create-cluster-alarm FailedParsesAlarm \\
                        --metric FailedParses \\
                        --comparison-operator GreaterThanOrEqualToThreshold \\
                        --evaluation-periods 1 \\
                        --period 300 \\
                        --threshold 1.0 \\
                        --clusters prod \\
                        --statistic Sum \\
                        --alarm-description 'Alarm for any failed parses that occur \
      within a 5 minute period in the prod cluster'
  
                  Resources:
  
                      AWS:        https://docs.aws.amazon.com/AmazonCloudWatch/\
      latest/APIReference/API_PutMetricAlarm.html
                      Terraform:  https://www.terraform.io/docs/providers/aws/r/\
      cloudwatch_metric_alarm.html
                  """
          ),
      )
  
      _add_default_metric_alarms_args(subparser, clustered=True)
  
      # Add the option to specify cluster(s)
      add_clusters_arg(subparser, required=True)
  
file_path: streamalert/streamalert_cli/metrics_alarms/handler.py
imports: from streamalert.shared import metrics, CLUSTERED_FUNCTIONS
  from streamalert.shared.logger import get_logger
  from streamalert_cli.utils import add_clusters_arg, CLICommand, set_parser_epilog
label_desc: Use image node_id 1 for calling the CreateClusterMetricAlarmCommand obj's underlying member method code with example usage: obj.setup_subparser(cls, subparser) without return types