EBSTagSpecification Struct
Tag Specification for EBS volume.
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_ecs as ecs } from 'aws-cdk-lib';
const eBSTagSpecification: ecs.EBSTagSpecification = {
propagateTags: ecs.EbsPropagatedTagSource.SERVICE,
tags: {
tagsKey: 'tags',
},
};
Properties
propagateTagsoptionalEbsPropagatedTagSourcepropagate_tagsoptionalEbsPropagatedTagSourcepropagateTagsoptionalEbsPropagatedTagSourcePropagateTagsoptionalEbsPropagatedTagSourcePropagateTagsoptionalEbsPropagatedTagSource= undefined#Specifies whether to propagate the tags from the task definition or the service to the task.
Valid values are: PropagatedTagSource.SERVICE, PropagatedTagSource.TASK_DEFINITION
tagsoptional{ [key: string]: string }tagsoptionaltyping.Mapping[str, str]tagsoptionalMap<String, String>TagsoptionalIDictionary<string, string>Tagsoptional*map[string]*string#The tags to apply to the volume.
Default: No tags