Class TagType
Inheritance
System.Object
TagType
Namespace: Amazon.CDK
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public sealed class TagType : Enum
Syntax (vb)
Public NotInheritable Class TagType
Inherits
Enum
Remarks
ExampleMetadata: infused
Examples
class MyConstruct : Resource, ITaggable
{
public readonly void Tags = new TagManager(TagType.KEY_VALUE, "Whatever::The::Type");
public MyConstruct(Construct scope, string id) : base(scope, id)
{
new CfnResource(this, "Resource", new CfnResourceProps {
Type = "Whatever::The::Type",
Properties = new Dictionary<string, object> {
// ...
{ "Tags", Tags.RenderedTags }
}
});
}
}
Synopsis
Fields
AUTOSCALING_GROUP | |
KEY_VALUE | |
MAP | |
NOT_TAGGABLE | |
STANDARD | |
value__ |
Fields
AUTOSCALING_GROUP
KEY_VALUE
MAP
NOT_TAGGABLE
STANDARD
value__
public int value__
Field Value
Type | Description |
---|---|
System.Int32 |