AWS::EKS::Nodegroup LaunchTemplateSpecification - AWS CloudFormation

AWS::EKS::Nodegroup LaunchTemplateSpecification

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.

Syntax

To declare this entity in your AWS CloudFormation template, use the following syntax:

JSON

{ "Id" : String, "Name" : String, "Version" : String }

YAML

Id: String Name: String Version: String

Properties

Id

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.

Required: Conditional

Type: String

Minimum: 1

Update requires: No interruption

Name

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.

Required: Conditional

Type: String

Minimum: 1

Update requires: No interruption

Version

The version number of the launch template to use. If no version is specified, then the template's default version is used.

Required: No

Type: String

Minimum: 1

Update requires: No interruption