Interface CfnCapacityReservation.TagSpecificationProperty

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

@Stability(Stable) public static interface CfnCapacityReservation.TagSpecificationProperty extends software.amazon.jsii.JsiiSerializable
An array of key-value pairs to apply to this resource.

For more information, see Tag .

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

See Also: