LaunchTemplateTagSpecificationProperty Struct
Specifies the tags to apply to the launch template during creation.
To specify the tags for the resources that are created during instance launch, use AWS::EC2::LaunchTemplate TagSpecification .
LaunchTemplateTagSpecification is a property of AWS::EC2::LaunchTemplate .
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_ec2 as ec2 } from 'aws-cdk-lib';
const launchTemplateTagSpecificationProperty: ec2.CfnLaunchTemplate.LaunchTemplateTagSpecificationProperty = {
resourceType: 'resourceType',
tags: [{
key: 'key',
value: 'value',
}],
};
Properties
resourceTypeoptionalstringresource_typeoptionalstrresourceTypeoptionalStringResourceTypeoptionalstringResourceTypeoptional*string#The type of resource.
To tag a launch template, ResourceType must be launch-template .