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

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
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

Instance Attribute Details

#launch_template_idString

The ID of the launch template.

You must specify the ‘LaunchTemplateId` or the `LaunchTemplateName`, but not both.

Returns:

  • (String)


44815
44816
44817
44818
44819
44820
44821
# File 'lib/aws-sdk-ec2/types.rb', line 44815

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 the ‘LaunchTemplateName` or the `LaunchTemplateId`, but not both.

Returns:

  • (String)


44815
44816
44817
44818
44819
44820
44821
# File 'lib/aws-sdk-ec2/types.rb', line 44815

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`.

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.

Returns:

  • (String)


44815
44816
44817
44818
44819
44820
44821
# File 'lib/aws-sdk-ec2/types.rb', line 44815

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