@Stability(value=Stable)
public static interface CfnNodegroup.LaunchTemplateSpecificationProperty
extends software.amazon.jsii.JsiiSerializable
The launch template cannot 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 Launch template support in the Amazon EKS User Guide .
Specify either name or id , 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();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnNodegroup.LaunchTemplateSpecificationProperty.Builder
A builder for
CfnNodegroup.LaunchTemplateSpecificationProperty |
static class |
CfnNodegroup.LaunchTemplateSpecificationProperty.Jsii$Proxy
An implementation for
CfnNodegroup.LaunchTemplateSpecificationProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnNodegroup.LaunchTemplateSpecificationProperty.Builder |
builder() |
default String |
getId()
The ID of the launch template.
|
default String |
getName()
The name of the launch template.
|
default String |
getVersion()
The version of the launch template to use.
|
@Stability(value=Stable) @Nullable default String getId()
@Stability(value=Stable) @Nullable default String getName()
@Stability(value=Stable) @Nullable default String getVersion()
If no version is specified, then the template's default version is used.
@Stability(value=Stable) static CfnNodegroup.LaunchTemplateSpecificationProperty.Builder builder()
Copyright © 2022. All rights reserved.