Class: Aws::EC2::Types::FleetLaunchTemplateSpecification

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 FleetLaunchTemplateSpecification data as a hash:

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

Describes the Amazon EC2 launch template and the launch template version that can be used by a Spot Fleet request to configure Amazon EC2 instances. For information about launch templates, see Launching an instance from a launch template in the Amazon EC2 User Guide for Linux Instances.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#launch_template_idString

The ID of the launch template. If you specify the template ID, you can't specify the template name.

Returns:

  • (String)


25839
25840
25841
25842
25843
25844
25845
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 25839

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

#launch_template_nameString

The name of the launch template. If you specify the template name, you can't specify the template ID.

Returns:

  • (String)


25839
25840
25841
25842
25843
25844
25845
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 25839

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

#versionString

The launch template version number, $Latest, or $Default. You must specify a value, otherwise the request fails.

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.

Returns:

  • (String)


25839
25840
25841
25842
25843
25844
25845
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 25839

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