AWS CloudFormation
User Guide (Version )

AWS::EC2::SpotFleet FleetLaunchTemplateSpecification

Describes a launch template.

Syntax

To declare this entity in your AWS CloudFormation template, use the following syntax:

JSON

{ "LaunchTemplateId" : String, "LaunchTemplateName" : String, "Version" : String }

YAML

LaunchTemplateId: String LaunchTemplateName: String Version: String

Properties

LaunchTemplateId

The ID of the launch template. You must specify either a template ID or a template name.

Required: Conditional

Type: String

Update requires: No interruption

LaunchTemplateName

The name of the launch template. You must specify either a template name or a template ID.

Minimum length of 3. Maximum length of 128. Names must match the following pattern: [a-zA-Z0-9\(\)\.-/_]+

Required: Conditional

Type: String

Minimum: 3

Maximum: 128

Pattern: [a-zA-Z0-9\(\)\.\-/_]+

Update requires: No interruption

Version

The version number of the launch template. You must specify a version number. AWS CloudFormation does not support specifying $Latest or $Default for the template version number.

Minimum length of 1. Maximum length of 255. Versions must fit the following pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*

Required: Yes

Type: String

Update requires: No interruption

On this page: