|
1976 | 1976 | "ec2Configuration": { |
1977 | 1977 | "target": "com.amazonaws.batch#Ec2ConfigurationList", |
1978 | 1978 | "traits": { |
1979 | | - "smithy.api#documentation": "<p>Provides information that's used to select Amazon Machine Images (AMIs) for Amazon EC2 instances\n in the compute environment. If <code>Ec2Configuration</code> isn't specified, the default is\n <code>ECS_AL2</code>.</p>\n <p>One or two values can be provided.</p>\n <note>\n <p>This parameter isn't applicable to jobs that are running on Fargate resources. Don't specify it.</p>\n </note>" |
| 1979 | + "smithy.api#documentation": "<p>Provides information that's used to select Amazon Machine Images (AMIs) for Amazon EC2 instances\n in the compute environment. If <code>Ec2Configuration</code> isn't specified, the default is\n <code>ECS_AL2</code> for EC2 (ECS) compute environments and <code>EKS_AL2023</code> for EKS compute environments.</p>\n <p>One or two values can be provided.</p>\n <note>\n <p>This parameter isn't applicable to jobs that are running on Fargate resources. Don't specify it.</p>\n </note>" |
1980 | 1980 | } |
1981 | 1981 | }, |
1982 | 1982 | "scalingPolicy": { |
|
2074 | 2074 | "ec2Configuration": { |
2075 | 2075 | "target": "com.amazonaws.batch#Ec2ConfigurationList", |
2076 | 2076 | "traits": { |
2077 | | - "smithy.api#documentation": "<p>Provides information used to select Amazon Machine Images (AMIs) for Amazon EC2 instances in the\n compute environment. If <code>Ec2Configuration</code> isn't specified, the default is\n <code>ECS_AL2</code>.</p>\n <p>When updating a compute environment, changing this setting requires an infrastructure update\n of the compute environment. For more information, see <a href=\"https://docs.aws.amazon.com/batch/latest/userguide/updating-compute-environments.html\">Updating compute environments</a> in the\n <i>Batch User Guide</i>. To remove the Amazon EC2 configuration and any custom AMI ID\n specified in <code>imageIdOverride</code>, set this value to an empty string.</p>\n <p>One or two values can be provided.</p>\n <note>\n <p>This parameter isn't applicable to jobs that are running on Fargate resources. Don't specify it.</p>\n </note>" |
| 2077 | + "smithy.api#documentation": "<p>Provides information used to select Amazon Machine Images (AMIs) for Amazon EC2 instances in the\n compute environment. If <code>Ec2Configuration</code> isn't specified, the default is\n <code>ECS_AL2</code> for EC2 (ECS) compute environments and <code>EKS_AL2023</code> for EKS compute environments.</p>\n <p>When updating a compute environment, changing this setting requires an infrastructure update\n of the compute environment. For more information, see <a href=\"https://docs.aws.amazon.com/batch/latest/userguide/updating-compute-environments.html\">Updating compute environments</a> in the\n <i>Batch User Guide</i>. To remove the Amazon EC2 configuration and any custom AMI ID\n specified in <code>imageIdOverride</code>, set this value to an empty string.</p>\n <p>One or two values can be provided.</p>\n <note>\n <p>This parameter isn't applicable to jobs that are running on Fargate resources. Don't specify it.</p>\n </note>" |
2078 | 2078 | } |
2079 | 2079 | }, |
2080 | 2080 | "updateToLatestImageVersion": { |
|
4954 | 4954 | "smithy.api#documentation": "<p>The AMI ID used for instances launched in the compute environment that match the image type.\n This setting overrides the <code>imageId</code> set in the <code>computeResource</code>\n object.</p>\n <note>\n <p>The AMI that you choose for a compute environment must match the architecture of the instance types that\n you intend to use for that compute environment. For example, if your compute environment uses A1 instance types,\n the compute resource AMI that you choose must support ARM instances. Amazon ECS vends both x86 and ARM versions of the\n Amazon ECS-optimized Amazon Linux 2 AMI. For more information, see <a href=\"https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-optimized_AMI.html#ecs-optimized-ami-linux-variants.html\">Amazon ECS-optimized\n Amazon Linux 2 AMI</a>\n in the <i>Amazon Elastic Container Service Developer Guide</i>.</p>\n </note>" |
4955 | 4955 | } |
4956 | 4956 | }, |
| 4957 | + "batchImageStatus": { |
| 4958 | + "target": "com.amazonaws.batch#String", |
| 4959 | + "traits": { |
| 4960 | + "smithy.api#documentation": "<p>The status of the Batch-provided default AMIs associated with the <code>imageType</code>.</p>\n <p>The field only appears after the compute environment has begun scaling instances using the <code>imageType</code>. The field is not present when an image is specified in\n <code>ComputeResources.imageId</code> (deprecated), the default launch template, or\n <code>Ec2Configuration.imageIdOverride</code>. The field is also not present when the compute environment has a launch template override.\n \n \n For more information on image selection, see <a href=\"https://docs.aws.amazon.com/batch/latest/userguide/ami-selection-order.html\">AMI selection order</a>.</p>\n <note>\n <p>This field is read-only and only appears in the <a href=\"https://docs.aws.amazon.com/batch/latest/APIReference/API_DescribeComputeEnvironments.html\">DescribeComputeEnvironments</a> response.</p>\n </note>\n <ul>\n <li>\n <p>\n <code>LATEST</code> − Using the most recent AMI supported</p>\n </li>\n <li>\n <p>\n <code>UPDATE_AVAILABLE</code> − An updated AMI is available</p>\n <ul>\n <li>\n <p>If a compute environment has multiple AMIs for the <code>imageType</code> and any one AMI has <code>UPDATE_AVAILABLE</code>, the status shows <code>UPDATE_AVAILABLE</code>.</p>\n </li>\n <li>\n <p>For compute environments that use <code>BEST_FIT</code> as their allocation strategy,\n you can perform a <a href=\"https://docs.aws.amazon.com/batch/latest/userguide/blue-green-updates.html\">blue/green update</a> to update the AMI.</p>\n </li>\n <li>\n <p>For all other compute environments, you can perform an\n <a href=\"https://docs.aws.amazon.com/batch/latest/userguide/managing-ami-versions.html#updating-ami-versions\">AMI version update</a> to update the AMI to the latest version.</p>\n </li>\n </ul>\n </li>\n </ul>" |
| 4961 | + } |
| 4962 | + }, |
4957 | 4963 | "imageKubernetesVersion": { |
4958 | 4964 | "target": "com.amazonaws.batch#KubernetesVersion", |
4959 | 4965 | "traits": { |
|
4962 | 4968 | } |
4963 | 4969 | }, |
4964 | 4970 | "traits": { |
4965 | | - "smithy.api#documentation": "<p>Provides information used to select Amazon Machine Images (AMIs) for instances in the\n compute environment. If <code>Ec2Configuration</code> isn't specified, the default is\n <code>ECS_AL2</code> (<a href=\"https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-optimized_AMI.html#al2ami\">Amazon Linux 2</a>).</p>\n <note>\n <p>This object isn't applicable to jobs that are running on Fargate resources.</p>\n </note>" |
| 4971 | + "smithy.api#documentation": "<p>Provides information used to select Amazon Machine Images (AMIs) for instances in the\n compute environment. If <code>Ec2Configuration</code> isn't specified, the default is\n <code>ECS_AL2</code> (<a href=\"https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-optimized_AMI.html#al2ami\">Amazon ECS-optimized Amazon Linux 2</a>) for EC2 (ECS) compute environments and <code>EKS_AL2023</code> (<a href=\"https://docs.aws.amazon.com/eks/latest/userguide/eks-optimized-ami.html\">Amazon EKS-optimized Amazon Linux 2023\n AMI</a>) for EKS compute environments.</p>\n <note>\n <p>This object isn't applicable to jobs that are running on Fargate resources.</p>\n </note>" |
4966 | 4972 | } |
4967 | 4973 | }, |
4968 | 4974 | "com.amazonaws.batch#Ec2ConfigurationList": { |
|
0 commit comments