interface LaunchTemplateSpecificationProperty
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.EKS.CfnNodegroup.LaunchTemplateSpecificationProperty |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awseks#CfnNodegroup_LaunchTemplateSpecificationProperty |
![]() | software.amazon.awscdk.services.eks.CfnNodegroup.LaunchTemplateSpecificationProperty |
![]() | aws_cdk.aws_eks.CfnNodegroup.LaunchTemplateSpecificationProperty |
![]() | aws-cdk-lib » aws_eks » CfnNodegroup » LaunchTemplateSpecificationProperty |
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
Name | Type | Description |
---|---|---|
id? | string | The ID of the launch template. |
name? | string | The name of the launch template. |
version? | string | The version number of the launch template to use. |
id?
Type:
string
(optional)
The ID of the launch template.
You must specify either the launch template ID or the launch template name in the request, but not both.
name?
Type:
string
(optional)
The name of the launch template.
You must specify either the launch template name or the launch template ID in the request, but not both.
version?
Type:
string
(optional)
The version number of the launch template to use.
If no version is specified, then the template's default version is used.