You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

Class: Aws::AutoScaling::Types::LaunchTemplateSpecification

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

Overview

Note:

When making an API call, you may pass LaunchTemplateSpecification data as a hash:

{
  launch_template_id: "XmlStringMaxLen255",
  launch_template_name: "LaunchTemplateName",
  version: "XmlStringMaxLen255",
}

Describes a launch template.

Instance Attribute Summary collapse

Instance Attribute Details

#launch_template_idString

The ID of the launch template. You must specify either a template ID or a template name.

Returns:

  • (String)


2620
2621
2622
2623
2624
2625
# File 'gems/aws-sdk-autoscaling/lib/aws-sdk-autoscaling/types.rb', line 2620

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

#launch_template_nameString

The name of the launch template. You must specify either a template name or a template ID.

Returns:

  • (String)


2620
2621
2622
2623
2624
2625
# File 'gems/aws-sdk-autoscaling/lib/aws-sdk-autoscaling/types.rb', line 2620

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

#versionString

The version number, $Latest, or $Default. If the value is $Latest, Auto Scaling selects the latest version of the launch template when launching instances. If the value is $Default, Auto Scaling selects the default version of the launch template when launching instances. The default value is $Default.

Returns:

  • (String)


2620
2621
2622
2623
2624
2625
# File 'gems/aws-sdk-autoscaling/lib/aws-sdk-autoscaling/types.rb', line 2620

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