AWS CloudFormation
User Guide (Version )

The AWS Documentation website is getting a new look!
Try it now and let us know what you think. Switch to the new look >>

You can return to the original look by selecting English in the language selector above.

AWS::EC2::Instance LaunchTemplateSpecification

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

LaunchTemplateSpecification is a property of the AWS::EC2::Instance resource.

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.

Required: Conditional

Type: String

Update requires: No interruption

LaunchTemplateName

The name of the launch template.

Required: Conditional

Type: String

Update requires: No interruption

Version

The version number of the launch template.AWS CloudFormation does not support specifying $Latest, or $Default for the template version number.

Required: Yes

Type: String

Update requires: No interruption

See Also

On this page: