Class: Aws::EC2::Types::FleetLaunchTemplateSpecificationRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::EC2::Types::FleetLaunchTemplateSpecificationRequest
- Defined in:
- gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb
Overview
The Amazon EC2 launch template that can be used by an EC2 Fleet to configure Amazon EC2 instances. You must specify either the ID or name of the launch template in the request, but not both.
For information about launch templates, see Launch an instance from a launch template in the Amazon EC2 User Guide.
Constant Summary collapse
- SENSITIVE =
[:launch_template_specification_user_data]
Instance Attribute Summary collapse
-
#launch_template_id ⇒ String
The ID of the launch template.
-
#launch_template_name ⇒ String
The name of the launch template.
-
#launch_template_specification_user_data ⇒ String
The base64-encoded user data for instances launched by the fleet.
-
#version ⇒ String
The launch template version number,
$Latest, or$Default.
Instance Attribute Details
#launch_template_id ⇒ String
The ID of the launch template.
You must specify the LaunchTemplateId or the LaunchTemplateName,
but not both.
43556 43557 43558 43559 43560 43561 43562 43563 |
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 43556 class FleetLaunchTemplateSpecificationRequest < Struct.new( :launch_template_id, :launch_template_name, :version, :launch_template_specification_user_data) SENSITIVE = [:launch_template_specification_user_data] include Aws::Structure end |
#launch_template_name ⇒ String
The name of the launch template.
You must specify the LaunchTemplateName or the LaunchTemplateId,
but not both.
43556 43557 43558 43559 43560 43561 43562 43563 |
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 43556 class FleetLaunchTemplateSpecificationRequest < Struct.new( :launch_template_id, :launch_template_name, :version, :launch_template_specification_user_data) SENSITIVE = [:launch_template_specification_user_data] include Aws::Structure end |
#launch_template_specification_user_data ⇒ String
The base64-encoded user data for instances launched by the fleet. User data is limited to 16 KB, in raw form, before it is base64-encoded.
Supported only for fleets of type instant.
43556 43557 43558 43559 43560 43561 43562 43563 |
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 43556 class FleetLaunchTemplateSpecificationRequest < Struct.new( :launch_template_id, :launch_template_name, :version, :launch_template_specification_user_data) SENSITIVE = [:launch_template_specification_user_data] include Aws::Structure end |
#version ⇒ String
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.
43556 43557 43558 43559 43560 43561 43562 43563 |
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 43556 class FleetLaunchTemplateSpecificationRequest < Struct.new( :launch_template_id, :launch_template_name, :version, :launch_template_specification_user_data) SENSITIVE = [:launch_template_specification_user_data] include Aws::Structure end |