@Generated(value="jsii-pacmak/1.58.0 (build f8ba112)", date="2022-05-20T22:19:53.156Z") public enum TagType extends java.lang.Enum<TagType>
import software.amazon.awscdk.core.*; public class MyConstruct extends Resource implements ITaggable { public final Object tags; public MyConstruct(Construct scope, String id) { super(scope, id); CfnResource.Builder.create(this, "Resource") .type("Whatever::The::Type") .properties(Map.of( // ... "Tags", this.tags.getRenderedTags())) .build(); } }
Enum Constant and Description |
---|
AUTOSCALING_GROUP |
KEY_VALUE |
MAP |
NOT_TAGGABLE |
STANDARD |
Modifier and Type | Method and Description |
---|---|
static TagType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static TagType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TagType STANDARD
public static final TagType AUTOSCALING_GROUP
public static final TagType MAP
public static final TagType KEY_VALUE
public static final TagType NOT_TAGGABLE
public static TagType[] values()
for (TagType c : TagType.values()) System.out.println(c);
public static TagType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null