Class EBSTagSpecification
Tag Specification for EBS volume.
Inheritance
System.Object
EBSTagSpecification
Implements
Namespace: Amazon.CDK.AWS.ECS
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class EBSTagSpecification : Object, IEBSTagSpecification
Syntax (vb)
Public Class EBSTagSpecification
Inherits Object
Implements IEBSTagSpecification
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 eBSTagSpecification = new EBSTagSpecification {
PropagateTags = EbsPropagatedTagSource.SERVICE,
Tags = new Dictionary<string, string> {
{ "tagsKey", "tags" }
}
};
Synopsis
Constructors
EBSTagSpecification() |
Properties
PropagateTags | Specifies whether to propagate the tags from the task definition or the service to the task. |
Tags | The tags to apply to the volume. |
Constructors
EBSTagSpecification()
public EBSTagSpecification()
Properties
PropagateTags
Specifies whether to propagate the tags from the task definition or the service to the task.
public Nullable<EbsPropagatedTagSource> PropagateTags { get; set; }
Property Value
System.Nullable<EbsPropagatedTagSource>
Remarks
Valid values are: PropagatedTagSource.SERVICE, PropagatedTagSource.TASK_DEFINITION
Default: - undefined
Tags
The tags to apply to the volume.
public IDictionary<string, string> Tags { get; set; }
Property Value
System.Collections.Generic.IDictionary<System.String, System.String>
Remarks
Default: - No tags