---
type: resource-type
title: LaunchTemplate
description: aws resource type AWS::EC2::LaunchTemplate
name: LaunchTemplate
lexicon: aws
resource_type: AWS::EC2::LaunchTemplate
---
`AWS::EC2::LaunchTemplate`, a resource type of the aws lexicon.

## Properties

- `LaunchTemplateData` (`LaunchTemplate_LaunchTemplateData`, required): The information for the launch template.
- `DefaultVersionNumber` (`string`, optional)
- `LatestVersionNumber` (`string`, optional)
- `LaunchTemplateId` (`string`, optional)
- `LaunchTemplateName` (`string`, optional): A name for the launch template.
- `TagSpecifications` (`LaunchTemplate_LaunchTemplateTagSpecification[]`, optional): The tags to apply to the launch template on creation. To tag the launch template, the resource type must be ``launch-template``. To specify the tags for resources that are created during instance launch, use [TagSpecifications](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-launchtemplate-launchtemplatedata.html#cfn-ec2-launchtemplate-launchtemplatedata-tagspecifications).
- `VersionDescription` (`string`, optional): A description for the first version of the launch template.

## Attributes

- `DefaultVersionNumber`
- `LatestVersionNumber`
- `LaunchTemplateId`

## Governed by

- [WAW036](/rules/WAW036.md): Non-ASCII characters in EC2/IAM/CW string properties — rejected at changeset time
- [WAW062](/rules/WAW062.md): Duplicate export name or explicit resource name within a template — fails at deploy time
