Interface CfnService.EBSTagSpecificationProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnService.EBSTagSpecificationProperty.Jsii$Proxy
- Enclosing class:
CfnService
@Stability(Stable)
public static interface CfnService.EBSTagSpecificationProperty
extends software.amazon.jsii.JsiiSerializable
The tag specifications of an Amazon EBS volume.
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.ecs.*;
EBSTagSpecificationProperty eBSTagSpecificationProperty = EBSTagSpecificationProperty.builder()
.resourceType("resourceType")
// the properties below are optional
.propagateTags("propagateTags")
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnService.EBSTagSpecificationPropertystatic final classAn implementation forCfnService.EBSTagSpecificationProperty -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getResourceType
The type of volume resource.- See Also:
-
getPropagateTags
Determines whether to propagate the tags from the task definition to the Amazon EBS volume.Tags can only propagate to a
SERVICEspecified inServiceVolumeConfiguration. If no value is specified, the tags aren't propagated.- See Also:
-
getTags
The tags applied to this Amazon EBS volume.AmazonECSCreatedandAmazonECSManagedare reserved tags that can't be used.- See Also:
-
builder
-