code: def validate_aws_config(aws_config: Dict[str, Any]) -> Optional[str]:
      for block_device_mapping in aws_config.get(
          "BlockDeviceMappings", []
      ):
          ebs = block_device_mapping.get("Ebs")
          if not ebs:
              continue
  
          if not ebs.get("DeleteOnTermination", False) is True:
              return "Ebs volume does not have `DeleteOnTermination: true` set"
      return None
  
imports: import copy
  import json
  import os
  import re
  from typing import Dict, List, Optional, Tuple, Any
  import jsonschema
  import yaml
  from ray_release.test import Test, TestDefinition
  from ray_release.anyscale_util import find_cloud_by_name
  from ray_release.bazel import bazel_runfile
  from ray_release.exception import ReleaseTestCLIError, ReleaseTestConfigError
  from ray_release.logger import logger
  from ray_release.util import DeferredEnvVar, deep_update
label_desc: Use image node_id 10 for calling a global function with example usage: validate_aws_config(aws_config) and returns: None, str