LaunchTemplateSpecificationOverride
An object that represents 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.
If security groups are specified using both the securityGroupIds
parameter of CreateComputeEnvironment
and the launch template, the values in the securityGroupIds
parameter of CreateComputeEnvironment
will be used.
You can define up to ten (10) overrides for each compute environment.
This object isn't applicable to jobs that are running on Fargate resources.
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.
Types
Properties
The ID of the launch template.
The name of the launch template.
The instance type or family that this override launch template should be applied to.
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
.