Interface CfnService.IEBSTagSpecificationProperty
The tag specifications of an Amazon EBS volume.
Namespace: Amazon.CDK.AWS.ECS
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface IEBSTagSpecificationProperty
Syntax (vb)
Public Interface IEBSTagSpecificationProperty
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.ECS;
var eBSTagSpecificationProperty = new EBSTagSpecificationProperty {
ResourceType = "resourceType",
// the properties below are optional
PropagateTags = "propagateTags",
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} }
};
Synopsis
Properties
PropagateTags | Determines whether to propagate the tags from the task definition to the Amazon EBS volume. |
ResourceType | The type of volume resource. |
Tags | The tags applied to this Amazon EBS volume. |
Properties
PropagateTags
Determines whether to propagate the tags from the task definition to the Amazon EBS volume.
virtual string PropagateTags { get; }
Property Value
System.String
Remarks
Tags can only propagate to a SERVICE
specified in ServiceVolumeConfiguration
. If no value is specified, the tags aren't propagated.
ResourceType
The type of volume resource.
string ResourceType { get; }
Property Value
System.String
Remarks
Tags
The tags applied to this Amazon EBS volume.
virtual ICfnTag[] Tags { get; }
Property Value
ICfnTag[]
Remarks
AmazonECSCreated
and AmazonECSManaged
are reserved tags that can't be used.