interface EBSTagSpecification
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.ECS.EBSTagSpecification |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awsecs#EBSTagSpecification |
![]() | software.amazon.awscdk.services.ecs.EBSTagSpecification |
![]() | aws_cdk.aws_ecs.EBSTagSpecification |
![]() | aws-cdk-lib » aws_ecs » EBSTagSpecification |
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 { aws_ecs as ecs } from 'aws-cdk-lib';
const eBSTagSpecification: ecs.EBSTagSpecification = {
propagateTags: ecs.EbsPropagatedTagSource.SERVICE,
tags: {
tagsKey: 'tags',
},
};
Properties
Name | Type | Description |
---|---|---|
propagate | Ebs | Specifies whether to propagate the tags from the task definition or the service to the task. |
tags? | { [string]: string } | The tags to apply to the volume. |
propagateTags?
Type:
Ebs
(optional, default: 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
tags?
Type:
{ [string]: string }
(optional, default: No tags)
The tags to apply to the volume.