FleetLaunchTemplateSpecification¶
Structure Class¶
FleetLaunchTemplateSpecification
dataclass
¶
Bases: _SerdeShape
The Amazon EC2 launch template that can be used by a Spot 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.
Attributes¶
launch_template_id
class-attribute
instance-attribute
¶
launch_template_id: str | None = ...
The ID of the launch template.
You must specify the LaunchTemplateId or the LaunchTemplateName, but
not both.
launch_template_name
class-attribute
instance-attribute
¶
launch_template_name: str | None = ...
The name of the launch template.
You must specify the LaunchTemplateName or the LaunchTemplateId, but
not both.
version
class-attribute
instance-attribute
¶
version: str | None = ...
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.