class_docstr: AWS Driver
class_docstr_tok: ["AWS","Driver"]
code: def from_config(cls, config):
      obj = super().from_config(config)
      obj.aws_access_key_id = config["hyper_params"].get(
          "cloud_credentials_key"
      )
      obj.aws_secret_access_key = config["hyper_params"].get(
          "cloud_credentials_secret"
      )
      obj.aws_session_token = config["hyper_params"].get(
          "cloud_credentials_token"
      )
      obj.aws_region = config["hyper_params"].get(
          "cloud_credentials_region"
      )
      obj.use_credentials_chain = config["hyper_params"].get(
          "use_credentials_chain", False
      )
      obj.use_iam_instance_profile = config["hyper_params"].get(
          "use_iam_instance_profile", False
      )
      obj.iam_arn = config["hyper_params"].get("iam_arn")
      obj.iam_name = config["hyper_params"].get("iam_name")
      return obj
  
file_path: clearml/clearml/automation/aws_driver.py
imports: import base64
  import attr
  from attr.validators import instance_of
  from ..None import Task
  from ..utilities.pyhocon import ConfigFactory, ConfigTree
  from .auto_scaler import CloudDriver
  from .cloud_driver import parse_tags
label_desc: Use image node_id 1 for calling the AWSDriver obj's underlying member method code with example usage: obj.from_config(cls, config) and returns: obj