Class CfnService.EBSTagSpecificationProperty
The tag specifications of an Amazon EBS volume.
Inheritance
System.Object
CfnService.EBSTagSpecificationProperty
Implements
Namespace: Amazon.CDK.AWS.ECS
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class EBSTagSpecificationProperty : Object, CfnService.IEBSTagSpecificationProperty
Syntax (vb)
Public Class EBSTagSpecificationProperty
Inherits Object
Implements CfnService.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
Constructors
EBSTagSpecificationProperty() |
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. |
Constructors
EBSTagSpecificationProperty()
public EBSTagSpecificationProperty()
Properties
PropagateTags
Determines whether to propagate the tags from the task definition to the Amazon EBS volume.
public string PropagateTags { get; set; }
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.
public string ResourceType { get; set; }
Property Value
System.String
Remarks
Tags
The tags applied to this Amazon EBS volume.
public ICfnTag[] Tags { get; set; }
Property Value
ICfnTag[]
Remarks
AmazonECSCreated
and AmazonECSManaged
are reserved tags that can't be used.