Class: Aws::EC2::Types::LaunchTemplateSpecification
- Inherits:
-
Struct
- Object
- Struct
- Aws::EC2::Types::LaunchTemplateSpecification
- Defined in:
- gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb
Overview
The launch template to use. You must specify either the launch template ID or launch template name in the request, but not both.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#launch_template_id ⇒ String
The ID of the launch template.
-
#launch_template_name ⇒ String
The name of the launch template.
-
#version ⇒ String
The launch template version number,
$Latest
, or$Default
.
Instance Attribute Details
#launch_template_id ⇒ String
The ID of the launch template.
You must specify the LaunchTemplateId
or the LaunchTemplateName
,
but not both.
45271 45272 45273 45274 45275 45276 45277 |
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 45271 class LaunchTemplateSpecification < Struct.new( :launch_template_id, :launch_template_name, :version) SENSITIVE = [] include Aws::Structure end |
#launch_template_name ⇒ String
The name of the launch template.
You must specify the LaunchTemplateName
or the LaunchTemplateId
,
but not both.
45271 45272 45273 45274 45275 45276 45277 |
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 45271 class LaunchTemplateSpecification < Struct.new( :launch_template_id, :launch_template_name, :version) SENSITIVE = [] include Aws::Structure end |
#version ⇒ String
The launch template version number, $Latest
, or $Default
.
If the value is $Latest
, Amazon EC2 uses the latest version of the
launch template.
If the value is $Default
, Amazon EC2 uses the default version of
the launch template.
Default: The default version of the launch template.
45271 45272 45273 45274 45275 45276 45277 |
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 45271 class LaunchTemplateSpecification < Struct.new( :launch_template_id, :launch_template_name, :version) SENSITIVE = [] include Aws::Structure end |