Skip to content

Commit c643cbf

Browse files
author
awstools
committed
docs(client-batch): Added ECS_AL2023_NVIDIA as an option for Ec2Configuration.imageType.
1 parent 472f3e0 commit c643cbf

File tree

2 files changed

+24
-47
lines changed

2 files changed

+24
-47
lines changed

clients/client-batch/src/models/models_0.ts

Lines changed: 22 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -390,6 +390,15 @@ export interface Ec2Configuration {
390390
* <p>Amazon Linux 2023 does not support <code>A1</code> instances.</p>
391391
* </note>
392392
* </dd>
393+
* <dt>ECS_AL2023_NVIDIA</dt>
394+
* <dd>
395+
* <p>
396+
* <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-optimized_AMI.html#gpuami">Amazon Linux 2023
397+
* (GPU)</a>: For all GPU instance families and can be used for all non Amazon Web Services Graviton-based instance types.</p>
398+
* <note>
399+
* <p>ECS_AL2023_NVIDIA doesn't support <code>p3</code> and <code>g3</code> instance types.</p>
400+
* </note>
401+
* </dd>
393402
* <dt>ECS_AL1</dt>
394403
* <dd>
395404
* <p>
@@ -404,6 +413,18 @@ export interface Ec2Configuration {
404413
* AMI</a> (<code>EKS_AL2</code>) is used. If a new image type is specified in an update,
405414
* but neither an <code>imageId</code> nor a <code>imageIdOverride</code> parameter is specified,
406415
* then the latest Amazon EKS optimized AMI for that image type that Batch supports is used.</p>
416+
* <important>
417+
* <p>Starting end of October 2025 Amazon EKS optimized Amazon Linux 2023 AMIs will be the
418+
* default on Batch for EKS versions prior to 1.33. Starting from Kubernetes version 1.33,
419+
* EKS optimized Amazon Linux 2023 AMIs will be the default when it becomes supported on
420+
* Batch.</p>
421+
* <p>Amazon Web Services will end
422+
* support for Amazon EKS AL2-optimized and AL2-accelerated AMIs, starting 11/26/25. You can continue
423+
* using Batch-provided Amazon EKS optimized Amazon Linux 2 AMIs on your Amazon EKS compute
424+
* environments beyond the 11/26/25 end-of-support date, these compute environments will no
425+
* longer receive any new software updates, security patches, or bug fixes from
426+
* Amazon Web Services. For more information on upgrading from AL2 to AL2023, see <a href="">How to upgrade from EKS AL2 to EKS AL2023</a> in the <i>Batch User Guide</i>.</p>
427+
* </important>
407428
* <dl>
408429
* <dt>EKS_AL2</dt>
409430
* <dd>
@@ -1491,7 +1512,7 @@ export interface ShareAttributes {
14911512
* (*), this entry specifies the weight factor to use for share identifiers that start with
14921513
* that prefix. The list of share identifiers in a fair-share policy can't overlap. For
14931514
* example, you can't have one that specifies a <code>shareIdentifier</code> of <code>UserA*</code>
1494-
* and another that specifies a <code>shareIdentifier</code> of <code>UserA-1</code>.</p>
1515+
* and another that specifies a <code>shareIdentifier</code> of <code>UserA1</code>.</p>
14951516
* <p>There can be no more than 500 share identifiers active in a job queue.</p>
14961517
* <p>The string is limited to 255 alphanumeric characters, and can be followed by an asterisk
14971518
* (*).</p>

codegen/sdk-codegen/aws-models/batch.json

Lines changed: 2 additions & 46 deletions
Original file line numberDiff line numberDiff line change
@@ -1041,17 +1041,6 @@
10411041
"UseDualStack": true
10421042
}
10431043
},
1044-
{
1045-
"documentation": "For region us-iso-east-1 with FIPS enabled and DualStack enabled",
1046-
"expect": {
1047-
"error": "FIPS and DualStack are enabled, but this partition does not support one or both"
1048-
},
1049-
"params": {
1050-
"Region": "us-iso-east-1",
1051-
"UseFIPS": true,
1052-
"UseDualStack": true
1053-
}
1054-
},
10551044
{
10561045
"documentation": "For region us-iso-east-1 with FIPS enabled and DualStack disabled",
10571046
"expect": {
@@ -1065,17 +1054,6 @@
10651054
"UseDualStack": false
10661055
}
10671056
},
1068-
{
1069-
"documentation": "For region us-iso-east-1 with FIPS disabled and DualStack enabled",
1070-
"expect": {
1071-
"error": "DualStack is enabled but this partition does not support DualStack"
1072-
},
1073-
"params": {
1074-
"Region": "us-iso-east-1",
1075-
"UseFIPS": false,
1076-
"UseDualStack": true
1077-
}
1078-
},
10791057
{
10801058
"documentation": "For region us-iso-east-1 with FIPS disabled and DualStack disabled",
10811059
"expect": {
@@ -1089,17 +1067,6 @@
10891067
"UseDualStack": false
10901068
}
10911069
},
1092-
{
1093-
"documentation": "For region us-isob-east-1 with FIPS enabled and DualStack enabled",
1094-
"expect": {
1095-
"error": "FIPS and DualStack are enabled, but this partition does not support one or both"
1096-
},
1097-
"params": {
1098-
"Region": "us-isob-east-1",
1099-
"UseFIPS": true,
1100-
"UseDualStack": true
1101-
}
1102-
},
11031070
{
11041071
"documentation": "For region us-isob-east-1 with FIPS enabled and DualStack disabled",
11051072
"expect": {
@@ -1113,17 +1080,6 @@
11131080
"UseDualStack": false
11141081
}
11151082
},
1116-
{
1117-
"documentation": "For region us-isob-east-1 with FIPS disabled and DualStack enabled",
1118-
"expect": {
1119-
"error": "DualStack is enabled but this partition does not support DualStack"
1120-
},
1121-
"params": {
1122-
"Region": "us-isob-east-1",
1123-
"UseFIPS": false,
1124-
"UseDualStack": true
1125-
}
1126-
},
11271083
{
11281084
"documentation": "For region us-isob-east-1 with FIPS disabled and DualStack disabled",
11291085
"expect": {
@@ -4591,7 +4547,7 @@
45914547
"target": "com.amazonaws.batch#ImageType",
45924548
"traits": {
45934549
"smithy.api#clientOptional": {},
4594-
"smithy.api#documentation": "<p>The image type to match with the instance type to select an AMI. The supported values are\n different for <code>ECS</code> and <code>EKS</code> resources.</p>\n <dl>\n <dt>ECS</dt>\n <dd>\n <p>If the <code>imageIdOverride</code> parameter isn't specified, then a recent <a href=\"https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-optimized_AMI.html#al2ami\">Amazon ECS-optimized Amazon Linux 2 AMI</a> (<code>ECS_AL2</code>) is used. If a new image type is\n specified in an update, but neither an <code>imageId</code> nor a <code>imageIdOverride</code>\n parameter is specified, then the latest Amazon ECS optimized AMI for that image type that's\n supported by Batch is used.</p>\n <dl>\n <dt>ECS_AL2</dt>\n <dd>\n <p>\n <a href=\"https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-optimized_AMI.html#al2ami\">Amazon Linux\n 2</a>: Default for all non-GPU instance families.</p>\n </dd>\n <dt>ECS_AL2_NVIDIA</dt>\n <dd>\n <p>\n <a href=\"https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-optimized_AMI.html#gpuami\">Amazon Linux 2\n (GPU)</a>: Default for all GPU instance families (for example <code>P4</code> and\n <code>G4</code>) and can be used for all non Amazon Web Services Graviton-based instance types.</p>\n </dd>\n <dt>ECS_AL2023</dt>\n <dd>\n <p>\n <a href=\"https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-optimized_AMI.html\">Amazon Linux 2023</a>: Batch\n supports Amazon Linux 2023.</p>\n <note>\n <p>Amazon Linux 2023 does not support <code>A1</code> instances.</p>\n </note>\n </dd>\n <dt>ECS_AL1</dt>\n <dd>\n <p>\n <a href=\"https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-optimized_AMI.html#alami\">Amazon Linux</a>. Amazon Linux has\n reached the end-of-life of standard support. For more information, see <a href=\"http://aws.amazon.com/amazon-linux-ami/\">Amazon Linux AMI</a>.</p>\n </dd>\n </dl>\n </dd>\n <dt>EKS</dt>\n <dd>\n <p>If the <code>imageIdOverride</code> parameter isn't specified, then a recent <a href=\"https://docs.aws.amazon.com/eks/latest/userguide/eks-optimized-ami.html\">Amazon EKS-optimized Amazon Linux\n AMI</a> (<code>EKS_AL2</code>) is used. If a new image type is specified in an update,\n but neither an <code>imageId</code> nor a <code>imageIdOverride</code> parameter is specified,\n then the latest Amazon EKS optimized AMI for that image type that Batch supports is used.</p>\n <dl>\n <dt>EKS_AL2</dt>\n <dd>\n <p>\n <a href=\"https://docs.aws.amazon.com/eks/latest/userguide/eks-optimized-ami.html\">Amazon\n Linux 2</a>: Default for all non-GPU instance families.</p>\n </dd>\n <dt>EKS_AL2_NVIDIA</dt>\n <dd>\n <p>\n <a href=\"https://docs.aws.amazon.com/eks/latest/userguide/eks-optimized-ami.html\">Amazon\n Linux 2 (accelerated)</a>: Default for all GPU instance families (for example,\n <code>P4</code> and <code>G4</code>) and can be used for all non Amazon Web Services Graviton-based\n instance types.</p>\n </dd>\n <dt>EKS_AL2023</dt>\n <dd>\n <p>\n <a href=\"https://docs.aws.amazon.com/eks/latest/userguide/eks-optimized-ami.html\">Amazon\n Linux 2023</a>: Batch supports Amazon Linux 2023.</p>\n <note>\n <p>Amazon Linux 2023 does not support <code>A1</code> instances.</p>\n </note>\n </dd>\n <dt>EKS_AL2023_NVIDIA</dt>\n <dd>\n <p>\n <a href=\"https://docs.aws.amazon.com/eks/latest/userguide/eks-optimized-ami.html\">Amazon\n Linux 2023 (accelerated)</a>: GPU instance families and can be used for all non Amazon Web Services\n Graviton-based instance types.</p>\n </dd>\n </dl>\n </dd>\n </dl>",
4550+
"smithy.api#documentation": "<p>The image type to match with the instance type to select an AMI. The supported values are\n different for <code>ECS</code> and <code>EKS</code> resources.</p>\n <dl>\n <dt>ECS</dt>\n <dd>\n <p>If the <code>imageIdOverride</code> parameter isn't specified, then a recent <a href=\"https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-optimized_AMI.html#al2ami\">Amazon ECS-optimized Amazon Linux 2 AMI</a> (<code>ECS_AL2</code>) is used. If a new image type is\n specified in an update, but neither an <code>imageId</code> nor a <code>imageIdOverride</code>\n parameter is specified, then the latest Amazon ECS optimized AMI for that image type that's\n supported by Batch is used.</p>\n <dl>\n <dt>ECS_AL2</dt>\n <dd>\n <p>\n <a href=\"https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-optimized_AMI.html#al2ami\">Amazon Linux\n 2</a>: Default for all non-GPU instance families.</p>\n </dd>\n <dt>ECS_AL2_NVIDIA</dt>\n <dd>\n <p>\n <a href=\"https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-optimized_AMI.html#gpuami\">Amazon Linux 2\n (GPU)</a>: Default for all GPU instance families (for example <code>P4</code> and\n <code>G4</code>) and can be used for all non Amazon Web Services Graviton-based instance types.</p>\n </dd>\n <dt>ECS_AL2023</dt>\n <dd>\n <p>\n <a href=\"https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-optimized_AMI.html\">Amazon Linux 2023</a>: Batch\n supports Amazon Linux 2023.</p>\n <note>\n <p>Amazon Linux 2023 does not support <code>A1</code> instances.</p>\n </note>\n </dd>\n <dt>ECS_AL2023_NVIDIA</dt>\n <dd>\n <p>\n <a href=\"https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-optimized_AMI.html#gpuami\">Amazon Linux 2023\n (GPU)</a>: For all GPU instance families and can be used for all non Amazon Web Services Graviton-based instance types.</p>\n <note>\n <p>ECS_AL2023_NVIDIA doesn't support <code>p3</code> and <code>g3</code> instance types.</p>\n </note>\n </dd>\n <dt>ECS_AL1</dt>\n <dd>\n <p>\n <a href=\"https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-optimized_AMI.html#alami\">Amazon Linux</a>. Amazon Linux has\n reached the end-of-life of standard support. For more information, see <a href=\"http://aws.amazon.com/amazon-linux-ami/\">Amazon Linux AMI</a>.</p>\n </dd>\n </dl>\n </dd>\n <dt>EKS</dt>\n <dd>\n <p>If the <code>imageIdOverride</code> parameter isn't specified, then a recent <a href=\"https://docs.aws.amazon.com/eks/latest/userguide/eks-optimized-ami.html\">Amazon EKS-optimized Amazon Linux\n AMI</a> (<code>EKS_AL2</code>) is used. If a new image type is specified in an update,\n but neither an <code>imageId</code> nor a <code>imageIdOverride</code> parameter is specified,\n then the latest Amazon EKS optimized AMI for that image type that Batch supports is used.</p>\n <important>\n <p>Starting end of October 2025 Amazon EKS optimized Amazon Linux 2023 AMIs will be the\n default on Batch for EKS versions prior to 1.33. Starting from Kubernetes version 1.33,\n EKS optimized Amazon Linux 2023 AMIs will be the default when it becomes supported on\n Batch.</p>\n <p>Amazon Web Services will end\n support for Amazon EKS AL2-optimized and AL2-accelerated AMIs, starting 11/26/25. You can continue\n using Batch-provided Amazon EKS optimized Amazon Linux 2 AMIs on your Amazon EKS compute\n environments beyond the 11/26/25 end-of-support date, these compute environments will no\n longer receive any new software updates, security patches, or bug fixes from\n Amazon Web Services. For more information on upgrading from AL2 to AL2023, see <a href=\"\">How to upgrade from EKS AL2 to EKS AL2023</a> in the <i>Batch User Guide</i>.</p>\n </important>\n <dl>\n <dt>EKS_AL2</dt>\n <dd>\n <p>\n <a href=\"https://docs.aws.amazon.com/eks/latest/userguide/eks-optimized-ami.html\">Amazon\n Linux 2</a>: Default for all non-GPU instance families.</p>\n </dd>\n <dt>EKS_AL2_NVIDIA</dt>\n <dd>\n <p>\n <a href=\"https://docs.aws.amazon.com/eks/latest/userguide/eks-optimized-ami.html\">Amazon\n Linux 2 (accelerated)</a>: Default for all GPU instance families (for example,\n <code>P4</code> and <code>G4</code>) and can be used for all non Amazon Web Services Graviton-based\n instance types.</p>\n </dd>\n <dt>EKS_AL2023</dt>\n <dd>\n <p>\n <a href=\"https://docs.aws.amazon.com/eks/latest/userguide/eks-optimized-ami.html\">Amazon\n Linux 2023</a>: Batch supports Amazon Linux 2023.</p>\n <note>\n <p>Amazon Linux 2023 does not support <code>A1</code> instances.</p>\n </note>\n </dd>\n <dt>EKS_AL2023_NVIDIA</dt>\n <dd>\n <p>\n <a href=\"https://docs.aws.amazon.com/eks/latest/userguide/eks-optimized-ami.html\">Amazon\n Linux 2023 (accelerated)</a>: GPU instance families and can be used for all non Amazon Web Services\n Graviton-based instance types.</p>\n </dd>\n </dl>\n </dd>\n </dl>",
45954551
"smithy.api#required": {}
45964552
}
45974553
},
@@ -9081,7 +9037,7 @@
90819037
"target": "com.amazonaws.batch#String",
90829038
"traits": {
90839039
"smithy.api#clientOptional": {},
9084-
"smithy.api#documentation": "<p>A share identifier or share identifier prefix. If the string ends with an asterisk\n (*), this entry specifies the weight factor to use for share identifiers that start with\n that prefix. The list of share identifiers in a fair-share policy can't overlap. For\n example, you can't have one that specifies a <code>shareIdentifier</code> of <code>UserA*</code>\n and another that specifies a <code>shareIdentifier</code> of <code>UserA-1</code>.</p>\n <p>There can be no more than 500 share identifiers active in a job queue.</p>\n <p>The string is limited to 255 alphanumeric characters, and can be followed by an asterisk\n (*).</p>",
9040+
"smithy.api#documentation": "<p>A share identifier or share identifier prefix. If the string ends with an asterisk\n (*), this entry specifies the weight factor to use for share identifiers that start with\n that prefix. The list of share identifiers in a fair-share policy can't overlap. For\n example, you can't have one that specifies a <code>shareIdentifier</code> of <code>UserA*</code>\n and another that specifies a <code>shareIdentifier</code> of <code>UserA1</code>.</p>\n <p>There can be no more than 500 share identifiers active in a job queue.</p>\n <p>The string is limited to 255 alphanumeric characters, and can be followed by an asterisk\n (*).</p>",
90859041
"smithy.api#required": {}
90869042
}
90879043
},

0 commit comments

Comments
 (0)