LaunchTemplateSpecificationProperty Struct
An object representing a node group launch template specification.
The launch template can't include SubnetId , IamInstanceProfile , RequestSpotInstances , HibernationOptions , or TerminateInstances , or the node group deployment or update will fail. For more information about launch templates, see CreateLaunchTemplate in the Amazon EC2 API Reference. For more information about using launch templates with Amazon EKS, see Customizing managed nodes with launch templates in the Amazon EKS User Guide .
You must specify either the launch template ID or the launch template name in the request, but not both.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_eks as eks } from 'aws-cdk-lib';
const launchTemplateSpecificationProperty: eks.CfnNodegroup.LaunchTemplateSpecificationProperty = {
id: 'id',
name: 'name',
version: 'version',
};
Properties
You must specify either the launch template ID or the launch template name in the request, but not both. After node group creation, you cannot use a different ID.
You must specify either the launch template name or the launch template ID in the request, but not both. After node group creation, you cannot use a different name.
versionoptionalstringversionoptionalstrversionoptionalStringVersionoptionalstringVersionoptional*string#If no version is specified, then the template's default version is used. You can use a different version for node group updates.