@Generated(value="jsii-pacmak/1.50.0 (build d1830a4)", date="2022-01-11T17:58:40.689Z") @Stability(value=Stable) public enum TagType extends 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(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.
|
@Stability(value=Stable) public static final TagType STANDARD
@Stability(value=Stable) public static final TagType AUTOSCALING_GROUP
@Stability(value=Stable) public static final TagType MAP
@Stability(value=Stable) public static final TagType KEY_VALUE
@Stability(value=Stable) public static final TagType NOT_TAGGABLE
public static TagType[] values()
for (TagType c : TagType.values()) System.out.println(c);
public static TagType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2022. All rights reserved.