Interface CfnLaunchTemplate.TagSpecificationProperty

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnLaunchTemplate.TagSpecificationProperty.Jsii$Proxy
Enclosing class:
CfnLaunchTemplate

@Stability(Stable) public static interface CfnLaunchTemplate.TagSpecificationProperty extends software.amazon.jsii.JsiiSerializable
Specifies the tags to apply to a resource when the resource is created for the launch template.

TagSpecification is a property type of TagSpecifications . TagSpecifications is a property of AWS::EC2::LaunchTemplate LaunchTemplateData .

Example:

 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 import software.amazon.awscdk.services.ec2.*;
 TagSpecificationProperty tagSpecificationProperty = TagSpecificationProperty.builder()
         .resourceType("resourceType")
         .tags(List.of(CfnTag.builder()
                 .key("key")
                 .value("value")
                 .build()))
         .build();