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

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

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

Overview

Note:

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

{
  launch_template_id: "String",
  launch_template_name: "String",
  version: "String",
}

The launch template to use. You must specify either the launch template ID or launch template name in the request, but not both.

Instance Attribute Summary collapse

Instance Attribute Details

#launch_template_idString

The ID of the launch template.

Returns:

  • (String)


19971
19972
19973
19974
19975
19976
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 19971

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

#launch_template_nameString

The name of the launch template.

Returns:

  • (String)


19971
19972
19973
19974
19975
19976
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 19971

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

#versionString

The version number of the launch template.

Default: The default version for the launch template.

Returns:

  • (String)


19971
19972
19973
19974
19975
19976
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 19971

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