Interface CfnNodegroup.LaunchTemplateSpecificationProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnNodegroup.LaunchTemplateSpecificationProperty.Jsii$Proxy
- Enclosing class:
CfnNodegroup
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 software.amazon.awscdk.services.eks.*; LaunchTemplateSpecificationProperty launchTemplateSpecificationProperty = LaunchTemplateSpecificationProperty.builder() .id("id") .name("name") .version("version") .build();
- See Also:
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCfnNodegroup.LaunchTemplateSpecificationProperty
static final class
An implementation forCfnNodegroup.LaunchTemplateSpecificationProperty
-
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getId
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.
- See Also:
-
getName
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.
- See Also:
-
getVersion
The version number of the launch template to use.If no version is specified, then the template's default version is used.
- See Also:
-
builder
-