Interface EBSTagSpecification
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
EBSTagSpecification.Jsii$Proxy
@Generated(value="jsii-pacmak/1.104.0 (build e79254c)",
date="2024-11-06T23:25:09.359Z")
@Stability(Stable)
public interface EBSTagSpecification
extends software.amazon.jsii.JsiiSerializable
Tag Specification for 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.*;
EBSTagSpecification eBSTagSpecification = EBSTagSpecification.builder()
.propagateTags(EbsPropagatedTagSource.SERVICE)
.tags(Map.of(
"tagsKey", "tags"))
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forEBSTagSpecificationstatic final classAn implementation forEBSTagSpecification -
Method Summary
Modifier and TypeMethodDescriptionstatic EBSTagSpecification.Builderbuilder()default EbsPropagatedTagSourceSpecifies whether to propagate the tags from the task definition or the service to the task.getTags()The tags to apply to the volume.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getPropagateTags
Specifies whether to propagate the tags from the task definition or the service to the task.Valid values are: PropagatedTagSource.SERVICE, PropagatedTagSource.TASK_DEFINITION
Default: - undefined
-
getTags
The tags to apply to the volume.Default: - No tags
-
builder
- Returns:
- a
EBSTagSpecification.BuilderofEBSTagSpecification
-