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

#id ⇒ String

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. After node group creation, you cannot use a different ID.

Returns:

  • (String)


5896
5897
5898
5899
5900
5901
5902
# File 'gems/aws-sdk-eks/lib/aws-sdk-eks/types.rb', line 5896

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

#name ⇒ String

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. After node group creation, you cannot use a different name.

Returns:

  • (String)


5896
5897
5898
5899
5900
5901
5902
# File 'gems/aws-sdk-eks/lib/aws-sdk-eks/types.rb', line 5896

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

#version ⇒ String

The version number of the launch template to use. If no version is specified, then the template's default version is used. You can use a different version for node group updates.

Returns:

  • (String)


5896
5897
5898
5899
5900
5901
5902
# File 'gems/aws-sdk-eks/lib/aws-sdk-eks/types.rb', line 5896

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