code: def bootstrap_aws_config(config):
      config = prepare_config(config)
      fake_fillout_available_node_types_resources(config)
      validate_config(config)
      config["cluster_name"] = DEFAULT_CLUSTER_NAME
      return ray.autoscaler._private.aws.config.bootstrap_aws(config)
  
imports: import os
  import yaml
  import ray
  import copy
  from typing import Dict, Any
  from ray.autoscaler._private.aws.node_provider import AWSNodeProvider
  from ray.autoscaler.tags import TAG_RAY_NODE_KIND, NODE_KIND_HEAD, NODE_KIND_WORKER, TAG_RAY_USER_NODE_TYPE, TAG_RAY_CLUSTER_NAME
  from ray.autoscaler._private.commands import prepare_config, validate_config
  from ray.tests.aws.utils.constants import DEFAULT_CLUSTER_NAME, DEFAULT_NODE_PROVIDER_INSTANCE_TAGS
  from ray.autoscaler._private.aws.cloudwatch.cloudwatch_helper import CloudwatchHelper
label_desc: Use image node_id 4 for calling a global function with example usage: bootstrap_aws_config(config) and returns: ray