class Aws::EKS::Types::LaunchTemplateSpecification

An object representing a node group launch template specification. The launch template cannot include [ `SubnetId` ][1], [ `IamInstanceProfile` ][2], [ `RequestSpotInstances` ][3], [ `HibernationOptions` ][4], or [ `TerminateInstances` ][5], or the node group deployment or update will fail. For more information about launch templates, see [ `CreateLaunchTemplate` ][6] 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.

[1]: docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateNetworkInterface.html [2]: docs.aws.amazon.com/AWSEC2/latest/APIReference/API_IamInstanceProfile.html [3]: docs.aws.amazon.com/AWSEC2/latest/APIReference/API_RequestSpotInstances.html [4]: docs.aws.amazon.com/AWSEC2/latest/APIReference/API_HibernationOptionsRequest.html [5]: docs.aws.amazon.com/AWSEC2/latest/APIReference/API_TerminateInstances.html [6]: docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateLaunchTemplate.html [7]: docs.aws.amazon.com/eks/latest/userguide/launch-templates.html

@note When making an API call, you may pass LaunchTemplateSpecification

data as a hash:

    {
      name: "String",
      version: "String",
      id: "String",
    }

@!attribute [rw] name

The name of the launch template.
@return [String]

@!attribute [rw] version

The version of the launch template to use. If no version is
specified, then the template's default version is used.
@return [String]

@!attribute [rw] id

The ID of the launch template.
@return [String]

@see docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/LaunchTemplateSpecification AWS API Documentation

Constants

SENSITIVE