Class: Aws::EC2::Types::LaunchTemplateSpecification

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

Overview

Describes the launch template to use.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#launch_template_idString

The ID of the launch template.

You must specify either the launch template ID or the launch template name, but not both.

Returns:

  • (String)


45385
45386
45387
45388
45389
45390
45391
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 45385

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

#launch_template_nameString

The name of the launch template.

You must specify either the launch template ID or the launch template name, but not both.

Returns:

  • (String)


45385
45386
45387
45388
45389
45390
45391
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 45385

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

#versionString

The launch template version number, $Latest, or $Default.

A value of $Latest uses the latest version of the launch template.

A value of $Default uses the default version of the launch template.

Default: The default version of the launch template.

Returns:

  • (String)


45385
45386
45387
45388
45389
45390
45391
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 45385

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