This is the new AWS CloudFormation Template Reference Guide. Please update your bookmarks and links. For help getting started with CloudFormation, see the AWS CloudFormation User Guide.
AWS::EC2::SpotFleet LaunchTemplateConfig
Specifies a launch template and overrides.
Syntax
To declare this entity in your AWS CloudFormation template, use the following syntax:
JSON
{ "LaunchTemplateSpecification" :FleetLaunchTemplateSpecification, "Overrides" :[ LaunchTemplateOverrides, ... ]}
YAML
LaunchTemplateSpecification:FleetLaunchTemplateSpecificationOverrides:- LaunchTemplateOverrides
Properties
LaunchTemplateSpecification-
The launch template to use. Make sure that the launch template does not contain the
NetworkInterfaceIdparameter because you can't specify a network interface ID in a Spot Fleet.Required: No
Type: FleetLaunchTemplateSpecification
Update requires: Replacement
Overrides-
Any parameters that you specify override the same parameters in the launch template.
Required: No
Type: Array of LaunchTemplateOverrides
Update requires: Replacement