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 Launch template support 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)


2300
2301
2302
2303
2304
2305
2306
# File 'gems/aws-sdk-eks/lib/aws-sdk-eks/types.rb', line 2300

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)


2300
2301
2302
2303
2304
2305
2306
# File 'gems/aws-sdk-eks/lib/aws-sdk-eks/types.rb', line 2300

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)


2300
2301
2302
2303
2304
2305
2306
# File 'gems/aws-sdk-eks/lib/aws-sdk-eks/types.rb', line 2300

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