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

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

Overview

Note:

When making an API call, you may pass LaunchTemplateSpecification data as a hash:

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

An object representing a node group launch template specification. 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.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#idString

The ID of the launch template.

Returns:

  • (String)


2330
2331
2332
2333
2334
2335
2336
# File 'gems/aws-sdk-eks/lib/aws-sdk-eks/types.rb', line 2330

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

#nameString

The name of the launch template.

Returns:

  • (String)


2330
2331
2332
2333
2334
2335
2336
# File 'gems/aws-sdk-eks/lib/aws-sdk-eks/types.rb', line 2330

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

#versionString

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

Returns:

  • (String)


2330
2331
2332
2333
2334
2335
2336
# File 'gems/aws-sdk-eks/lib/aws-sdk-eks/types.rb', line 2330

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