{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/aws-batch/json-schema/aws-batch-describe-compute-environments-response-schema.json",
  "title": "DescribeComputeEnvironmentsResponse",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/aws-batch-compute-environments-api-openapi.yml#/components/schemas/DescribeComputeEnvironmentsResponse",
  "type": "object",
  "properties": {
    "computeEnvironments": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/ComputeEnvironmentDetail"
      },
      "description": "The list of compute environments."
    },
    "nextToken": {
      "type": "string",
      "description": "The nextToken value to include in a future DescribeComputeEnvironments request. When the results of a DescribeComputeEnvironments request exceed maxResults, this value can be used to retrieve the next page of results. This value is null when there are no more results to return."
    }
  },
  "$defs": {
    "CapacityReservationRequest": {
      "type": "object",
      "properties": {
        "reservationGroupArn": {
          "type": "string",
          "description": "The Amazon Resource Name (ARN) of the capacity reservation group to target."
        },
        "reservationPreference": {
          "type": "string",
          "description": "The capacity reservation preference. Valid values: RESERVATIONS_ONLY — Use only capacity reservations. RESERVATIONS_FIRST — Prefer capacity reservations but fall back to On-Demand if unavailable. RESERVATIONS_EXCLUDED — Do not use capacity reservations."
        }
      }
    },
    "ComputeEnvironmentDetail": {
      "type": "object",
      "properties": {
        "computeEnvironmentName": {
          "type": "string",
          "description": "The name of the compute environment. It can be up to 128 characters long. It can contain uppercase and lowercase letters, numbers, hyphens (-), and underscores (_)."
        },
        "computeEnvironmentArn": {
          "type": "string",
          "description": "The Amazon Resource Name (ARN) of the compute environment."
        },
        "unmanagedvCpus": {
          "type": "integer",
          "description": "The maximum number of VCPUs expected to be used for an unmanaged compute environment."
        },
        "ecsClusterArn": {
          "type": "string",
          "description": "The Amazon Resource Name (ARN) of the underlying Amazon ECS cluster that the compute environment uses."
        },
        "tags": {
          "type": "object",
          "additionalProperties": {
            "type": "string"
          },
          "description": "The tags applied to the compute environment."
        },
        "type": {
          "type": "string",
          "enum": [
            "MANAGED",
            "UNMANAGED"
          ],
          "description": "The type of the compute environment: MANAGED or UNMANAGED. For more information, see Compute environments in the Batch User Guide."
        },
        "state": {
          "type": "string",
          "enum": [
            "ENABLED",
            "DISABLED"
          ],
          "description": "The state of the compute environment. The valid values are ENABLED or DISABLED. If the state is ENABLED, then the Batch scheduler can attempt to place jobs from an associated job queue on the compute resources within the environment. If the compute environment is managed, then it can scale its instances out or in automatically based on the job queue demand. If the state is DISABLED, then the Batch scheduler doesn't attempt to place jobs within the environment. Jobs in a STARTING or RUNNING state continue to progress normally. Managed compute environments in the DISABLED state don't scale out. "
        },
        "status": {
          "type": "string",
          "enum": [
            "CREATING",
            "UPDATING",
            "DELETING",
            "DELETED",
            "VALID",
            "INVALID"
          ],
          "description": "The current status of the compute environment (for example, CREATING or VALID)."
        },
        "statusReason": {
          "type": "string",
          "description": "A short, human-readable string to provide additional details for the current status of the compute environment."
        },
        "computeResources": {
          "$ref": "#/$defs/ComputeResource"
        },
        "serviceRole": {
          "type": "string",
          "description": "The service role that's associated with the compute environment that allows Batch to make calls to Amazon Web Services API operations on your behalf. For more information, see Batch service IAM role in the Batch User Guide."
        },
        "updatePolicy": {
          "$ref": "#/$defs/UpdatePolicy"
        },
        "eksConfiguration": {
          "$ref": "#/$defs/EksConfiguration"
        },
        "containerOrchestrationType": {
          "type": "string",
          "enum": [
            "ECS",
            "EKS"
          ],
          "description": "The orchestration type of the compute environment. The valid values are ECS (default) or EKS."
        },
        "uuid": {
          "type": "string",
          "description": "Unique identifier for the compute environment."
        },
        "context": {
          "type": "string",
          "description": "Reserved."
        },
        "ecsSettings": {
          "$ref": "#/$defs/EcsSettings"
        }
      },
      "required": [
        "computeEnvironmentName",
        "computeEnvironmentArn"
      ]
    },
    "ComputeResource": {
      "type": "object",
      "properties": {
        "type": {
          "type": "string",
          "enum": [
            "EC2",
            "SPOT",
            "FARGATE",
            "FARGATE_SPOT",
            "ECS_MANAGED_INSTANCES"
          ],
          "description": "The type of compute environment: EC2, SPOT, FARGATE, FARGATE_SPOT, or ECS_MANAGED_INSTANCES. For more information, see Compute environments in the Batch User Guide. If you choose SPOT, you must also specify an Amazon EC2 Spot Fleet role with the spotIamFleetRole parameter. For more information, see Amazon EC2 spot fleet role in the Batch User Guide. If you choose ECS_MANAGED_INSTANCES, you must also specify a managedInstancesProvider configuration. To use Spot capacity, set capacityOptionType to SPOT in the managedInstancesProvider.instanceLaunchTemplate configuration. For more information, se"
        },
        "allocationStrategy": {
          "type": "string",
          "enum": [
            "BEST_FIT",
            "BEST_FIT_PROGRESSIVE",
            "BEST_FIT_PROGRESSIVE_ORDERED",
            "SPOT_CAPACITY_OPTIMIZED",
            "SPOT_PRICE_CAPACITY_OPTIMIZED",
            "SPOT_CAPACITY_OPTIMIZED_PRIORITIZED"
          ],
          "description": "The allocation strategy to use for the compute resource if not enough instances of the best fitting instance type can be allocated. This might be because of availability of the instance type in the Region or Amazon EC2 service limits. For more information, see Allocation strategies in the Batch User Guide. This parameter isn't applicable to jobs that are running on Fargate resources. Don't specify it. This parameter is required for Amazon EKS compute environments. For Amazon ECS compute environments, if this parameter isn't specified, the BEST_FIT allocation strategy is used by default. BEST_F"
        },
        "minvCpus": {
          "type": "integer",
          "description": "The minimum number of vCPUs that a compute environment should maintain (even if the compute environment is DISABLED). This parameter isn't applicable to jobs that are running on Fargate resources. Don't specify it."
        },
        "maxvCpus": {
          "type": "integer",
          "description": "The maximum number of vCPUs that a compute environment can support. With any allocation strategy except BEST_FIT using On-Demand (EC2) compute resources, Batch might need to exceed maxvCpus to meet your capacity requirements. In this event, Batch never exceeds maxvCpus by more than a single instance."
        },
        "desiredvCpus": {
          "type": "integer",
          "description": "The desired number of vCPUS in the compute environment. Batch modifies this value between the minimum and maximum values based on job queue demand. This parameter isn't applicable to jobs that are running on Fargate resources. Don't specify it."
        },
        "instanceTypes": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "The instances types that can be launched. You can specify instance families to launch any instance type within those families (for example, c5 or p3), or you can specify specific sizes within a family (such as c5.8xlarge). Batch can select the instance type for you if you choose one of the following: default_x86_64 to choose x86 based instance types (from the m6i, c6i, r6i, and c7i instance families) that matches the resource demands of the job queue. default_arm64 to choose ARM based instance types (from the m6g, c6g, r6g, and c7g instance families) that matches the resource demands of the jo"
        },
        "imageId": {
          "type": "string",
          "description": "The Amazon Machine Image (AMI) ID used for instances launched in the compute environment. This parameter is overridden by the imageIdOverride member of the Ec2Configuration structure. This parameter isn't applicable to jobs that are running on Fargate resources. Don't specify it. The AMI that you choose for a compute environment must match the architecture of the instance types that you intend to use for that compute environment. For example, if your compute environment uses A1 instance types, the compute resource AMI that you choose must support ARM instances. Amazon ECS vends both x86 and AR"
        },
        "subnets": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "The VPC subnets where the compute resources are launched. These subnets must be within the same VPC. Fargate compute resources can contain up to 16 subnets. For more information, see VPCs and subnets in the Amazon VPC User Guide. This parameter is required for compute environments using EC2, SPOT, FARGATE, or FARGATE_SPOT compute resources. Batch on Amazon EC2 and Batch on Amazon EKS support Local Zones. For more information, see Local Zones in the Amazon EC2 User Guide for Linux Instances, Amazon EKS and Amazon Web Services Local Zones in the Amazon EKS User Guide and Amazon ECS clusters in L"
        },
        "securityGroupIds": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "The Amazon EC2 security groups that are associated with instances launched in the compute environment. One or more security groups must be specified, either in securityGroupIds or using a launch template referenced in launchTemplate. This parameter is required for jobs that are running on Fargate resources and must contain at least one security group. Fargate doesn't support launch templates. If security groups are specified using both securityGroupIds and launchTemplate, the values in securityGroupIds are used."
        },
        "ec2KeyPair": {
          "type": "string",
          "description": "The Amazon EC2 key pair that's used for instances launched in the compute environment. You can use this key pair to log in to your instances with SSH. This parameter isn't applicable to jobs that are running on Fargate resources. Don't specify it."
        },
        "instanceRole": {
          "type": "string",
          "description": "The Amazon ECS instance profile applied to Amazon EC2 instances in a compute environment. This parameter is required for Amazon EC2 instances types. You can specify the short name or full Amazon Resource Name (ARN) of an instance profile. For example, ecsInstanceRole or arn:aws:iam:::instance-profile/ecsInstanceRole . For more information, see Amazon ECS instance role in the Batch User Guide. This parameter isn't applicable to jobs that are running on Fargate resources. Don't specify it."
        },
        "tags": {
          "type": "object",
          "additionalProperties": {
            "type": "string"
          },
          "description": "Key-value pair tags to be applied to Amazon EC2 resources that are launched in the compute environment. For Batch, these take the form of \"String1\": \"String2\", where String1 is the tag key and String2 is the tag value (for example, { \"Name\": \"Batch Instance - C4OnDemand\" }). This is helpful for recognizing your Batch instances in the Amazon EC2 console. Updating these tags requires an infrastructure update to the compute environment. For more information, see Updating compute environments in the Batch User Guide. These tags aren't seen when using the Batch ListTagsForResource API operation. Th"
        },
        "placementGroup": {
          "type": "string",
          "description": "The Amazon EC2 placement group to associate with your compute resources. If you intend to submit multi-node parallel jobs to your compute environment, you should consider creating a cluster placement group and associate it with your compute resources. This keeps your multi-node parallel job on a logical grouping of instances within a single Availability Zone with high network flow potential. For more information, see Placement groups in the Amazon EC2 User Guide for Linux Instances. This parameter isn't applicable to jobs that are running on Fargate resources. Don't specify it."
        },
        "bidPercentage": {
          "type": "integer",
          "description": "The maximum percentage that a Spot Instance price can be when compared with the On-Demand price for that instance type before instances are launched. For example, if your maximum percentage is 20%, then the Spot price must be less than 20% of the current On-Demand price for that Amazon EC2 instance. You always pay the lowest (market) price and never more than your maximum percentage. If you leave this field empty, the default value is 100% of the On-Demand price. For most use cases, we recommend leaving this field empty. This parameter isn't applicable to jobs that are running on Fargate resou"
        },
        "spotIamFleetRole": {
          "type": "string",
          "description": "The Amazon Resource Name (ARN) of the Amazon EC2 Spot Fleet IAM role applied to a SPOT compute environment. This role is required if the allocation strategy set to BEST_FIT or if the allocation strategy isn't specified. For more information, see Amazon EC2 spot fleet role in the Batch User Guide. This parameter isn't applicable to jobs that are running on Fargate resources. Don't specify it. To tag your Spot Instances on creation, the Spot Fleet IAM role specified here must use the newer AmazonEC2SpotFleetTaggingRole managed policy. The previously recommended AmazonEC2SpotFleetRole managed pol"
        },
        "launchTemplate": {
          "$ref": "#/$defs/LaunchTemplateSpecification"
        },
        "ec2Configuration": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/Ec2Configuration"
          },
          "description": "Provides information that's used to select Amazon Machine Images (AMIs) for Amazon EC2 instances in the compute environment. If Ec2Configuration isn't specified, the default is ECS_AL2023 for EC2 (ECS) compute environments and EKS_AL2023 for EKS compute environments. One or two values can be provided. This parameter isn't applicable to jobs that are running on Fargate resources. Don't specify it."
        },
        "scalingPolicy": {
          "$ref": "#/$defs/ComputeScalingPolicy"
        },
        "managedInstancesProvider": {
          "$ref": "#/$defs/ManagedInstancesProvider"
        },
        "capacityTags": {
          "type": "object",
          "additionalProperties": {
            "type": "string"
          },
          "description": "The tags to apply to the Amazon ECS capacity provider and Amazon EC2 instances launched by the compute environment. These tags are separate from the compute environment resource tags (the top-level tags parameter). Use capacityTags for cost allocation and organization of the underlying infrastructure resources. This parameter is only valid for ECS_MANAGED_INSTANCES compute environments. You must have the batch:SetCapacityTags permission on the compute environment resource to use this parameter."
        }
      },
      "required": [
        "type",
        "maxvCpus"
      ]
    },
    "ComputeScalingPolicy": {
      "type": "object",
      "properties": {
        "minScaleDownDelayMinutes": {
          "type": "integer",
          "description": "The minimum time (in minutes) that Batch keeps instances running in the compute environment after their jobs complete. For each instance, the delay period begins when the last job finishes. If no new jobs are placed on the instance during this delay, Batch terminates the instance once the delay expires. Valid Range: Minimum value of 20. Maximum value of 10080. Use 0 to unset and disable the scale down delay. Idle instances retained during the scale-down delay period are billable at standard EC2 pricing. The scale down delay does not apply to: Instances being replaced during infrastructure upda"
        }
      }
    },
    "Ec2Configuration": {
      "type": "object",
      "properties": {
        "imageType": {
          "type": "string",
          "description": "The image type to match with the instance type to select an AMI. The supported values are different for ECS and EKS resources. ECS If the imageIdOverride parameter isn't specified, then a recent Amazon ECS-optimized Amazon Linux 2023 AMI (ECS_AL2023) is used. If a new image type is specified in an update, but neither an imageId nor a imageIdOverride parameter is specified, then the latest Amazon ECS optimized AMI for that image type that's supported by Batch is used. Amazon Web Services is ending support for Amazon ECS Amazon Linux 2-optimized and accelerated AMIs on June 30, 2026. On January "
        },
        "imageIdOverride": {
          "type": "string",
          "description": "The AMI ID used for instances launched in the compute environment that match the image type. This setting overrides the imageId set in the computeResource object. The AMI that you choose for a compute environment must match the architecture of the instance types that you intend to use for that compute environment. For example, if your compute environment uses A1 instance types, the compute resource AMI that you choose must support ARM instances. Amazon ECS vends both x86 and ARM versions of the Amazon ECS-optimized Amazon Linux 2023 AMI. For more information, see Amazon ECS-optimized Amazon Li"
        },
        "batchImageStatus": {
          "type": "string",
          "description": "The status of the Batch-provided default AMIs associated with the imageType. The field only appears after the compute environment has begun scaling instances using the imageType. The field is not present when an image is specified in ComputeResources.imageId (deprecated), the default launch template, or Ec2Configuration.imageIdOverride. The field is also not present when the compute environment has a launch template override. For more information on image selection, see AMI selection order. This field is read-only and only appears in the DescribeComputeEnvironments response. LATEST − Using the"
        },
        "imageKubernetesVersion": {
          "type": "string",
          "description": "The Kubernetes version for the compute environment. If you don't specify a value, the latest version that Batch supports is used."
        }
      },
      "required": [
        "imageType"
      ]
    },
    "EcsSettings": {
      "type": "object",
      "properties": {
        "containerInsights": {
          "type": "string",
          "enum": [
            "ENABLED",
            "ENHANCED",
            "DISABLED"
          ],
          "description": "Specifies the CloudWatch Container Insights mode for the compute environment. Valid values are: ENABLED Turns on standard Container Insights, which collects CPU, memory, disk, and network utilization metrics for the compute environment. ENHANCED Turns on enhanced Container Insights, which collects the standard metrics along with additional per-task observability metrics. DISABLED Turns off Container Insights for the compute environment. If you don't specify a value, the default is DISABLED. For more information, see Container Insights in the Batch User Guide."
        }
      }
    },
    "EksAccessEntry": {
      "type": "object",
      "properties": {
        "desiredState": {
          "type": "string",
          "enum": [
            "ENABLED",
            "DISABLED",
            "INHERIT_FROM_CLUSTER"
          ],
          "description": "The desired access entry state for the compute environment. Valid values: ENABLED Batch manages an access entry on the cluster for the compute environment. DISABLED Batch deletes the Batch-managed access entry for the cluster. This value is rejected if the cluster's authenticationMode is API, because such a cluster doesn't support the aws-auth ConfigMap. INHERIT_FROM_CLUSTER Batch defers to the cluster's current access entry status. On a cluster whose authentication mode is API, Batch creates and manages an access entry. On a cluster whose authentication mode is API_AND_CONFIG_MAP or CONFIG_MA"
        },
        "status": {
          "type": "string",
          "enum": [
            "ACTIVE",
            "INACTIVE"
          ],
          "description": "The observed state of the access entry on the cluster. ACTIVE means that an access entry for the compute environment exists on the cluster and takes precedence over the aws-auth ConfigMap. INACTIVE means that no Batch-managed access entry is present. This is a read-only field returned by DescribeComputeEnvironments."
        }
      },
      "required": [
        "desiredState"
      ]
    },
    "EksConfiguration": {
      "type": "object",
      "properties": {
        "eksClusterArn": {
          "type": "string",
          "description": "The Amazon Resource Name (ARN) of the Amazon EKS cluster. An example is arn:aws:eks:us-east-1:123456789012:cluster/ClusterForBatch ."
        },
        "kubernetesNamespace": {
          "type": "string",
          "description": "The namespace of the Amazon EKS cluster. Batch manages pods in this namespace. The value can't left empty or null. It must be fewer than 64 characters long, can't be set to default, can't start with \"kube-,\" and must match this regular expression: ^[a-z0-9]([-a-z0-9]*[a-z0-9])?$. For more information, see Namespaces in the Kubernetes documentation."
        },
        "accessEntry": {
          "$ref": "#/$defs/EksAccessEntry"
        }
      },
      "required": [
        "eksClusterArn",
        "kubernetesNamespace"
      ]
    },
    "InfrastructureOptimization": {
      "type": "object",
      "properties": {
        "scaleInAfter": {
          "type": "integer",
          "description": "The number of seconds an instance can remain idle before it is terminated. Valid values are -1 or 0 to 3600. Use -1 as a special value to disable scale-in (instances are never terminated for being idle). If not specified, a default value applies."
        }
      }
    },
    "InstanceLaunchTemplate": {
      "type": "object",
      "properties": {
        "ec2InstanceProfileArn": {
          "type": "string",
          "description": "The Amazon Resource Name (ARN) of the Amazon EC2 instance profile for the managed instances. The instance profile must use the AmazonECSInstanceRolePolicyForManagedInstances managed policy with a trust policy for ec2.amazonaws.com."
        },
        "networkConfiguration": {
          "$ref": "#/$defs/ManagedInstancesNetworkConfiguration"
        },
        "instanceRequirements": {
          "$ref": "#/$defs/InstanceRequirementsRequest"
        },
        "capacityOptionType": {
          "type": "string",
          "description": "The capacity pricing model for the managed instances. Valid values: ON_DEMAND (default) — On-Demand pricing. SPOT — Spot Instances, which can provide significant cost savings for fault-tolerant workloads."
        },
        "storageConfiguration": {
          "$ref": "#/$defs/ManagedInstancesStorageConfiguration"
        },
        "monitoring": {
          "type": "string",
          "description": "The level of CloudWatch monitoring for the managed instances. Valid values are BASIC and DETAILED."
        },
        "fipsEnabled": {
          "type": "boolean",
          "description": "Specifies whether FIPS 140-2 validated cryptographic modules are enabled on the managed instances. Not available in all Regions."
        },
        "capacityReservations": {
          "$ref": "#/$defs/CapacityReservationRequest"
        },
        "instanceMetadataTagsPropagation": {
          "type": "boolean",
          "description": "Specifies whether instance tags are accessible from the instance metadata service (IMDS). If not specified, instance tags are not accessible from IMDS."
        },
        "localStorageConfiguration": {
          "$ref": "#/$defs/ManagedInstancesLocalStorageConfiguration"
        }
      },
      "required": [
        "ec2InstanceProfileArn",
        "networkConfiguration"
      ]
    },
    "InstanceRequirementsRequest": {
      "type": "object",
      "properties": {
        "allowedInstanceTypes": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "A list of specific instance types or instance families that Amazon ECS can launch (for example, m5.large or g5). When specified, only these instance types are used."
        }
      }
    },
    "LaunchTemplateSpecification": {
      "type": "object",
      "properties": {
        "launchTemplateId": {
          "type": "string",
          "description": "The ID of the launch template."
        },
        "launchTemplateName": {
          "type": "string",
          "description": "The name of the launch template."
        },
        "version": {
          "type": "string",
          "description": "The version number of the launch template, $Default, or $Latest. If the value is $Default, the default version of the launch template is used. If the value is $Latest, the latest version of the launch template is used. If the AMI ID that's used in a compute environment is from the launch template, the AMI isn't changed when the compute environment is updated. It's only changed if the updateToLatestImageVersion parameter for the compute environment is set to true. During an infrastructure update, if either $Default or $Latest is specified, Batch re-evaluates the launch template version, and it "
        },
        "overrides": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/LaunchTemplateSpecificationOverride"
          },
          "description": "A launch template to use in place of the default launch template. You must specify either the launch template ID or launch template name in the request, but not both. You can specify up to ten (10) launch template overrides that are associated to unique instance types or families for each compute environment. To unset all override templates for a compute environment, you can pass an empty array to the UpdateComputeEnvironment.overrides parameter, or not include the overrides parameter when submitting the UpdateComputeEnvironment API operation."
        },
        "userdataType": {
          "type": "string",
          "enum": [
            "EKS_BOOTSTRAP_SH",
            "EKS_NODEADM"
          ],
          "description": "The EKS node initialization process to use. You only need to specify this value if you are using a custom AMI. The default value is EKS_BOOTSTRAP_SH. If imageType is a custom AMI based on EKS_AL2023 or EKS_AL2023_NVIDIA then you must choose EKS_NODEADM."
        }
      }
    },
    "LaunchTemplateSpecificationOverride": {
      "type": "object",
      "properties": {
        "launchTemplateId": {
          "type": "string",
          "description": "The ID of the launch template. Note: If you specify the launchTemplateId you can't specify the launchTemplateName as well."
        },
        "launchTemplateName": {
          "type": "string",
          "description": "The name of the launch template. Note: If you specify the launchTemplateName you can't specify the launchTemplateId as well."
        },
        "version": {
          "type": "string",
          "description": "The version number of the launch template, $Default, or $Latest. If the value is $Default, the default version of the launch template is used. If the value is $Latest, the latest version of the launch template is used. If the AMI ID that's used in a compute environment is from the launch template, the AMI isn't changed when the compute environment is updated. It's only changed if the updateToLatestImageVersion parameter for the compute environment is set to true. During an infrastructure update, if either $Default or $Latest is specified, Batch re-evaluates the launch template version, and it "
        },
        "targetInstanceTypes": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "The instance type or family that this override launch template should be applied to. This parameter is required when defining a launch template override. Information included in this parameter must meet the following requirements: Must be a valid Amazon EC2 instance type or family. The following Batch InstanceTypes are not allowed: optimal, default_x86_64, and default_arm64. targetInstanceTypes can target only instance types and families that are included within the ComputeResource.instanceTypes set. targetInstanceTypes doesn't need to include all of the instances from the instanceType set, bu"
        },
        "userdataType": {
          "type": "string",
          "enum": [
            "EKS_BOOTSTRAP_SH",
            "EKS_NODEADM"
          ],
          "description": "The EKS node initialization process to use. You only need to specify this value if you are using a custom AMI. The default value is EKS_BOOTSTRAP_SH. If imageType is a custom AMI based on EKS_AL2023 or EKS_AL2023_NVIDIA then you must choose EKS_NODEADM."
        }
      }
    },
    "ManagedInstancesLocalStorageConfiguration": {
      "type": "object",
      "properties": {
        "useLocalStorage": {
          "type": "boolean",
          "description": "Specifies whether instance store volumes (local NVMe SSDs) are available to containers. When enabled, containers can use the instance store for high-performance temporary storage."
        }
      }
    },
    "ManagedInstancesNetworkConfiguration": {
      "type": "object",
      "properties": {
        "subnets": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "The VPC subnets where managed instances are launched. If your subnets don't provide public IP addresses, they must have a NAT gateway for outbound internet access."
        },
        "securityGroups": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "The VPC security groups to associate with the managed instances."
        }
      },
      "required": [
        "subnets",
        "securityGroups"
      ]
    },
    "ManagedInstancesProvider": {
      "type": "object",
      "properties": {
        "propagateTags": {
          "type": "string",
          "description": "Specifies whether tags on the capacity provider are propagated to the Amazon EC2 instances it launches. Valid values: CAPACITY_PROVIDER — Propagates tags to instances. NONE (default) — Does not propagate tags to instances."
        },
        "infrastructureRoleArn": {
          "type": "string",
          "description": "The Amazon Resource Name (ARN) of the IAM role that Amazon ECS assumes to manage Amazon EC2 instances on your behalf. This role must have a trust policy for ecs.amazonaws.com. You must have the iam:PassRole permission for this role with the condition iam:PassedToService: ecs.amazonaws.com."
        },
        "instanceLaunchTemplate": {
          "$ref": "#/$defs/InstanceLaunchTemplate"
        },
        "infrastructureOptimization": {
          "$ref": "#/$defs/InfrastructureOptimization"
        }
      },
      "required": [
        "infrastructureRoleArn",
        "instanceLaunchTemplate"
      ]
    },
    "ManagedInstancesStorageConfiguration": {
      "type": "object",
      "properties": {
        "storageSizeGiB": {
          "type": "integer",
          "description": "The size of the root EBS volume in GiB for the managed instances."
        }
      }
    },
    "UpdatePolicy": {
      "type": "object",
      "properties": {
        "terminateJobsOnUpdate": {
          "type": "boolean",
          "description": "Specifies whether jobs are automatically terminated when the compute environment infrastructure is updated. The default value is false."
        },
        "jobExecutionTimeoutMinutes": {
          "type": "integer",
          "description": "Specifies the job timeout (in minutes) when the compute environment infrastructure is updated. The default value is 30. The maximum value is 7200. Increasing jobExecutionTimeoutMinutes during infrastructure updates delays the replacement of instances with new instances that include updates such as security patches, but provides more time for jobs to execute. Consider the security implications of this tradeoff when setting timeout values."
        }
      }
    }
  }
}