interface EBSTagSpecificationProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.ECS.CfnService.EBSTagSpecificationProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsecs#CfnService_EBSTagSpecificationProperty |
Java | software.amazon.awscdk.services.ecs.CfnService.EBSTagSpecificationProperty |
Python | aws_cdk.aws_ecs.CfnService.EBSTagSpecificationProperty |
TypeScript | aws-cdk-lib » aws_ecs » CfnService » EBSTagSpecificationProperty |
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 { 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
| Name | Type | Description |
|---|---|---|
| resource | string | The type of volume resource. |
| propagate | string | Determines whether to propagate the tags from the task definition to the Amazon EBS volume. |
| tags? | Cfn[] | The tags applied to this Amazon EBS volume. |
resourceType
Type:
string
The type of volume resource.
propagateTags?
Type:
string
(optional)
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.
tags?
Type:
Cfn[]
(optional)
The tags applied to this Amazon EBS volume.
AmazonECSCreated and AmazonECSManaged are reserved tags that can't be used.

.NET
Go
Java
Python
TypeScript