Class: Aws::EKS::Types::LaunchTemplateSpecification

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-eks/lib/aws-sdk-eks/types.rb

Overview

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.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#idString

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.

Returns:

  • (String)


3627
3628
3629
3630
3631
3632
3633
# File 'gems/aws-sdk-eks/lib/aws-sdk-eks/types.rb', line 3627

class LaunchTemplateSpecification < Struct.new(
  :name,
  :version,
  :id)
  SENSITIVE = []
  include Aws::Structure
end

#nameString

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.

Returns:

  • (String)


3627
3628
3629
3630
3631
3632
3633
# File 'gems/aws-sdk-eks/lib/aws-sdk-eks/types.rb', line 3627

class LaunchTemplateSpecification < Struct.new(
  :name,
  :version,
  :id)
  SENSITIVE = []
  include Aws::Structure
end

#versionString

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

Returns:

  • (String)


3627
3628
3629
3630
3631
3632
3633
# File 'gems/aws-sdk-eks/lib/aws-sdk-eks/types.rb', line 3627

class LaunchTemplateSpecification < Struct.new(
  :name,
  :version,
  :id)
  SENSITIVE = []
  include Aws::Structure
end