This is the new *CloudFormation Template Reference Guide*. Please update your bookmarks and links. For help getting started with CloudFormation, see the [AWS CloudFormation User Guide](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/Welcome.html). # AWS::EC2::LaunchTemplate LicenseSpecification Specifies a license configuration for an instance. `LicenseSpecification` is a property of [AWS::EC2::LaunchTemplate LaunchTemplateData](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-launchtemplate-launchtemplatedata.html). ## Syntax To declare this entity in your CloudFormation template, use the following syntax: ### JSON ``` { "[LicenseConfigurationArn](#cfn-ec2-launchtemplate-licensespecification-licenseconfigurationarn)" : {{String}} } ``` ### YAML ``` [LicenseConfigurationArn](#cfn-ec2-launchtemplate-licensespecification-licenseconfigurationarn): {{String}} ``` ## Properties `LicenseConfigurationArn` The Amazon Resource Name (ARN) of the license configuration. *Required*: No *Type*: String *Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt) ## See also + [ LaunchTemplateLicenseConfigurationRequest](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_LaunchTemplateLicenseConfigurationRequest.html) in the *Amazon EC2 API Reference* + [ Create a launch template using advanced settings](https://docs.aws.amazon.com/autoscaling/ec2/userguide/advanced-settings-for-your-launch-template.html) in the *Amazon EC2 Auto Scaling User Guide*