Interface CfnEC2Fleet.TagSpecificationProperty

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

@Stability(Stable) public static interface CfnEC2Fleet.TagSpecificationProperty extends software.amazon.jsii.JsiiSerializable
Specifies the tags to apply to a resource when the resource is being created for an EC2 Fleet.

TagSpecification is a property of the AWS::EC2::EC2Fleet resource.

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();