AWS::EC2::EC2Fleet FleetLaunchTemplateSpecificationRequest - AWS CloudFormation

AWS::EC2::EC2Fleet FleetLaunchTemplateSpecificationRequest

Specifies the launch template to use for an EC2 Fleet. You must specify either the launch template ID or launch template name in the request.

FleetLaunchTemplateSpecificationRequest is a property of the FleetLaunchTemplateConfigRequest property type.

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. If you specify the template ID, you can't specify the template name.

Required: No

Type: String

Update requires: Replacement

LaunchTemplateName

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

Required: No

Type: String

Minimum: 3

Maximum: 128

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

Update requires: Replacement

Version

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.

Required: No

Type: String

Update requires: Replacement

See also