Show / Hide Table of Contents

Class TagType

Inheritance
System.Object
TagType
Namespace: Amazon.CDK
Assembly: Amazon.CDK.dll
Syntax (csharp)
public sealed class TagType : Enum
Syntax (vb)
Public NotInheritable Class TagType
    Inherits

     Enum
Remarks

ExampleMetadata: infused

Examples
using Amazon.CDK;


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

public const TagType AUTOSCALING_GROUP
Field Value
Type Description
TagType

KEY_VALUE

public const TagType KEY_VALUE
Field Value
Type Description
TagType

MAP

public const TagType MAP
Field Value
Type Description
TagType

NOT_TAGGABLE

public const TagType NOT_TAGGABLE
Field Value
Type Description
TagType

STANDARD

public const TagType STANDARD
Field Value
Type Description
TagType

value__

public int value__
Field Value
Type Description
System.Int32
Back to top Generated by DocFX