Skip to content

Commit

Permalink
feat(client-eks): Added support for new AL2023 GPU AMIs to the suppor…
Browse files Browse the repository at this point in the history
…ted AMITypes.
  • Loading branch information
awstools committed Aug 12, 2024
1 parent 014f34c commit 54703e4
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 4 deletions.
4 changes: 2 additions & 2 deletions clients/client-eks/src/commands/CreateNodegroupCommand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ export interface CreateNodegroupCommandOutput extends CreateNodegroupResponse, _
* instanceTypes: [
* "STRING_VALUE",
* ],
* amiType: "AL2_x86_64" || "AL2_x86_64_GPU" || "AL2_ARM_64" || "CUSTOM" || "BOTTLEROCKET_ARM_64" || "BOTTLEROCKET_x86_64" || "BOTTLEROCKET_ARM_64_NVIDIA" || "BOTTLEROCKET_x86_64_NVIDIA" || "WINDOWS_CORE_2019_x86_64" || "WINDOWS_FULL_2019_x86_64" || "WINDOWS_CORE_2022_x86_64" || "WINDOWS_FULL_2022_x86_64" || "AL2023_x86_64_STANDARD" || "AL2023_ARM_64_STANDARD",
* amiType: "AL2_x86_64" || "AL2_x86_64_GPU" || "AL2_ARM_64" || "CUSTOM" || "BOTTLEROCKET_ARM_64" || "BOTTLEROCKET_x86_64" || "BOTTLEROCKET_ARM_64_NVIDIA" || "BOTTLEROCKET_x86_64_NVIDIA" || "WINDOWS_CORE_2019_x86_64" || "WINDOWS_FULL_2019_x86_64" || "WINDOWS_CORE_2022_x86_64" || "WINDOWS_FULL_2022_x86_64" || "AL2023_x86_64_STANDARD" || "AL2023_ARM_64_STANDARD" || "AL2023_x86_64_NEURON" || "AL2023_x86_64_NVIDIA",
* remoteAccess: { // RemoteAccessConfig
* ec2SshKey: "STRING_VALUE",
* sourceSecurityGroups: [
Expand Down Expand Up @@ -127,7 +127,7 @@ export interface CreateNodegroupCommandOutput extends CreateNodegroupResponse, _
* // "STRING_VALUE",
* // ],
* // },
* // amiType: "AL2_x86_64" || "AL2_x86_64_GPU" || "AL2_ARM_64" || "CUSTOM" || "BOTTLEROCKET_ARM_64" || "BOTTLEROCKET_x86_64" || "BOTTLEROCKET_ARM_64_NVIDIA" || "BOTTLEROCKET_x86_64_NVIDIA" || "WINDOWS_CORE_2019_x86_64" || "WINDOWS_FULL_2019_x86_64" || "WINDOWS_CORE_2022_x86_64" || "WINDOWS_FULL_2022_x86_64" || "AL2023_x86_64_STANDARD" || "AL2023_ARM_64_STANDARD",
* // amiType: "AL2_x86_64" || "AL2_x86_64_GPU" || "AL2_ARM_64" || "CUSTOM" || "BOTTLEROCKET_ARM_64" || "BOTTLEROCKET_x86_64" || "BOTTLEROCKET_ARM_64_NVIDIA" || "BOTTLEROCKET_x86_64_NVIDIA" || "WINDOWS_CORE_2019_x86_64" || "WINDOWS_FULL_2019_x86_64" || "WINDOWS_CORE_2022_x86_64" || "WINDOWS_FULL_2022_x86_64" || "AL2023_x86_64_STANDARD" || "AL2023_ARM_64_STANDARD" || "AL2023_x86_64_NEURON" || "AL2023_x86_64_NVIDIA",
* // nodeRole: "STRING_VALUE",
* // labels: { // labelsMap
* // "<keys>": "STRING_VALUE",
Expand Down
2 changes: 1 addition & 1 deletion clients/client-eks/src/commands/DeleteNodegroupCommand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ export interface DeleteNodegroupCommandOutput extends DeleteNodegroupResponse, _
* // "STRING_VALUE",
* // ],
* // },
* // amiType: "AL2_x86_64" || "AL2_x86_64_GPU" || "AL2_ARM_64" || "CUSTOM" || "BOTTLEROCKET_ARM_64" || "BOTTLEROCKET_x86_64" || "BOTTLEROCKET_ARM_64_NVIDIA" || "BOTTLEROCKET_x86_64_NVIDIA" || "WINDOWS_CORE_2019_x86_64" || "WINDOWS_FULL_2019_x86_64" || "WINDOWS_CORE_2022_x86_64" || "WINDOWS_FULL_2022_x86_64" || "AL2023_x86_64_STANDARD" || "AL2023_ARM_64_STANDARD",
* // amiType: "AL2_x86_64" || "AL2_x86_64_GPU" || "AL2_ARM_64" || "CUSTOM" || "BOTTLEROCKET_ARM_64" || "BOTTLEROCKET_x86_64" || "BOTTLEROCKET_ARM_64_NVIDIA" || "BOTTLEROCKET_x86_64_NVIDIA" || "WINDOWS_CORE_2019_x86_64" || "WINDOWS_FULL_2019_x86_64" || "WINDOWS_CORE_2022_x86_64" || "WINDOWS_FULL_2022_x86_64" || "AL2023_x86_64_STANDARD" || "AL2023_ARM_64_STANDARD" || "AL2023_x86_64_NEURON" || "AL2023_x86_64_NVIDIA",
* // nodeRole: "STRING_VALUE",
* // labels: { // labelsMap
* // "<keys>": "STRING_VALUE",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ export interface DescribeNodegroupCommandOutput extends DescribeNodegroupRespons
* // "STRING_VALUE",
* // ],
* // },
* // amiType: "AL2_x86_64" || "AL2_x86_64_GPU" || "AL2_ARM_64" || "CUSTOM" || "BOTTLEROCKET_ARM_64" || "BOTTLEROCKET_x86_64" || "BOTTLEROCKET_ARM_64_NVIDIA" || "BOTTLEROCKET_x86_64_NVIDIA" || "WINDOWS_CORE_2019_x86_64" || "WINDOWS_FULL_2019_x86_64" || "WINDOWS_CORE_2022_x86_64" || "WINDOWS_FULL_2022_x86_64" || "AL2023_x86_64_STANDARD" || "AL2023_ARM_64_STANDARD",
* // amiType: "AL2_x86_64" || "AL2_x86_64_GPU" || "AL2_ARM_64" || "CUSTOM" || "BOTTLEROCKET_ARM_64" || "BOTTLEROCKET_x86_64" || "BOTTLEROCKET_ARM_64_NVIDIA" || "BOTTLEROCKET_x86_64_NVIDIA" || "WINDOWS_CORE_2019_x86_64" || "WINDOWS_FULL_2019_x86_64" || "WINDOWS_CORE_2022_x86_64" || "WINDOWS_FULL_2022_x86_64" || "AL2023_x86_64_STANDARD" || "AL2023_ARM_64_STANDARD" || "AL2023_x86_64_NEURON" || "AL2023_x86_64_NVIDIA",
* // nodeRole: "STRING_VALUE",
* // labels: { // labelsMap
* // "<keys>": "STRING_VALUE",
Expand Down
2 changes: 2 additions & 0 deletions clients/client-eks/src/models/models_0.ts
Original file line number Diff line number Diff line change
Expand Up @@ -543,6 +543,8 @@ export interface AddonPodIdentityConfiguration {
*/
export const AMITypes = {
AL2023_ARM_64_STANDARD: "AL2023_ARM_64_STANDARD",
AL2023_x86_64_NEURON: "AL2023_x86_64_NEURON",
AL2023_x86_64_NVIDIA: "AL2023_x86_64_NVIDIA",
AL2023_x86_64_STANDARD: "AL2023_x86_64_STANDARD",
AL2_ARM_64: "AL2_ARM_64",
AL2_x86_64: "AL2_x86_64",
Expand Down
12 changes: 12 additions & 0 deletions codegen/sdk-codegen/aws-models/eks.json
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,18 @@
"traits": {
"smithy.api#enumValue": "AL2023_ARM_64_STANDARD"
}
},
"AL2023_x86_64_NEURON": {
"target": "smithy.api#Unit",
"traits": {
"smithy.api#enumValue": "AL2023_x86_64_NEURON"
}
},
"AL2023_x86_64_NVIDIA": {
"target": "smithy.api#Unit",
"traits": {
"smithy.api#enumValue": "AL2023_x86_64_NVIDIA"
}
}
}
},
Expand Down

0 comments on commit 54703e4

Please sign in to comment.