class_docstr: A class to load, modify, and display the StreamAlertCLI Config
docstr: Add Threat Intel configure to config
  
  Args:
      threat_intel_info (dict): Settings to enable Threat Intel from commandline.
docstr_tok: ["Add","Threat","Intel","configure","to","config","Args",":","threat_intel_info","(","dict",")",":","Settings","to","enable","Threat","Intel","from","commandline","."]
code: def add_threat_intel(self, threat_intel_info):
      """Add Threat Intel configure to config
  
      Args:
          threat_intel_info (dict): Settings to enable Threat Intel from commandline.
      """
      prefix = self.config["global"]["account"]["prefix"]
  
      if "threat_intel" not in self.config:
          self.config["threat_intel"] = {}
  
      self.config["threat_intel"]["enabled"] = threat_intel_info[
          "enable"
      ]
  
      table_name = threat_intel_info.get("dynamodb_table_name")
      if table_name:
          self.config["threat_intel"][
              "dynamodb_table_name"
          ] = table_name
      elif not self.config["threat_intel"].get("dynamodb_table_name"):
          # set default dynamodb table name if one does not exist
          self.config["threat_intel"][
              "dynamodb_table_name"
          ] = "{}_streamalert_threat_intel_downloader".format(prefix)
  
      self.write()
  
      LOGGER.info("Threat Intel configuration successfully created")
  
imports: import json
  import os
  import re
  import shutil
  import string
  import tempfile
  from streamalert.apps import StreamAlertApp
  from streamalert.shared import CLUSTERED_FUNCTIONS, config, metrics
  from streamalert.shared.logger import get_logger
  from streamalert_cli.terraform import TERRAFORM_FILES_PATH
  from streamalert_cli.apps.helpers import save_app_auth_info
  from streamalert_cli.helpers import continue_prompt
label_desc: Use image node_id 22 for calling the CLIConfig obj's underlying member method code with example usage: obj.add_threat_intel(threat_intel_info) without return types