Class: Aws::EKS::Types::LaunchTemplateSpecification
- Inherits:
-
Struct
- Object
- Struct
- Aws::EKS::Types::LaunchTemplateSpecification
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-eks/types.rb
Overview
An object representing a node group launch template specification. The launch template can’t 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 [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.
[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
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#id ⇒ String
The ID of the launch template.
-
#name ⇒ String
The name of the launch template.
-
#version ⇒ String
The version number of the launch template to use.
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.
3876 3877 3878 3879 3880 3881 3882 |
# File 'lib/aws-sdk-eks/types.rb', line 3876 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.
3876 3877 3878 3879 3880 3881 3882 |
# File 'lib/aws-sdk-eks/types.rb', line 3876 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.
3876 3877 3878 3879 3880 3881 3882 |
# File 'lib/aws-sdk-eks/types.rb', line 3876 class LaunchTemplateSpecification < Struct.new( :name, :version, :id) SENSITIVE = [] include Aws::Structure end |