class_docstr: CLI Terraform Generate, Classifier
class_docstr_tok: ["CLI","Terraform","Generate",",","Classifier"]
docstr: CLI Terraform Generate, Classifier - Setup
docstr_tok: ["CLI","Terraform","Generate",",","Classifier","-","Setup"]
code: def setup(self):
      """CLI Terraform Generate, Classifier - Setup"""
      self.config = {
          "global": {
              "account": {
                  "aws_account_id": "123456789012",
                  "prefix": "unit-test",
                  "region": "us-east-1",
              },
              "infrastructure": {
                  "monitoring": {"sns_topic_name": "test_topic"}
              },
          },
          "clusters": {
              "test": {
                  "classifier_config": {
                      "inputs": {
                          "aws-sns": [
                              "arn:aws:sns:us-east-1:123456789012:foo_bar"
                          ]
                      },
                      "log_level": "info",
                      "log_retention_days": 14,
                      "memory": 128,
                      "metric_alarms": {
                          "errors": {
                              "enabled": True,
                              "evaluation_periods": 1,
                              "period_secs": 120,
                              "threshold": 0,
                          },
                          "throttles": {
                              "enabled": True,
                              "evaluation_periods": 1,
                              "period_secs": 120,
                              "threshold": 0,
                          },
                      },
                      "timeout": 60,
                      "vpc_config": {
                          "security_group_ids": [],
                          "subnet_ids": [],
                      },
                  }
              }
          },
      }
  
imports: from nose.tools import assert_equal
  from streamalert_cli.terraform import common, classifier
label_desc: Use image node_id 1 for calling the TestTerraformGenerateClassifier obj's underlying member method code with example usage: obj.setup() without return types