Skip to content
v2.275.0

EBSTagSpecificationProperty Struct ​

The tag specifications of an Amazon 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 eBSTagSpecificationProperty: ecs.CfnService.EBSTagSpecificationProperty = {
  resourceType: 'resourceType',

  // the properties below are optional
  propagateTags: 'propagateTags',
  tags: [{
    key: 'key',
    value: 'value',
  }],
};

Properties ​

propagateTagsoptionalstringpropagate_tagsoptionalstrpropagateTagsoptionalStringPropagateTagsoptionalstringPropagateTagsoptional*string#
Determines whether to propagate the tags from the task definition to the Amazon EBS volume.

Tags can only propagate to a SERVICE specified in ServiceVolumeConfiguration . If no value is specified, the tags aren't propagated.

resourceTypestringresource_typestrresourceTypeStringResourceTypestringResourceType*stringrequired#
The type of volume resource.
tagsoptionalCfnTag[]tagsoptionaltyping.List[CfnTag]tagsoptionalList<CfnTag>TagsoptionalCfnTag[]Tagsoptional*[]CfnTag#
The tags applied to this Amazon EBS volume.

AmazonECSCreated and AmazonECSManaged are reserved tags that can't be used.