@Generated(value="jsii-pacmak/0.20.4 (build 96d89e1)", date="2019-11-12T11:54:39.769Z") @Stability(value=Stable) public class Tag extends software.amazon.jsii.JsiiObject implements IAspect
| Modifier and Type | Class and Description |
|---|---|
static class |
Tag.Builder
A fluent builder for
Tag. |
software.amazon.jsii.JsiiObject.InitializationModeIAspect.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
protected |
Tag(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
Tag(software.amazon.jsii.JsiiObjectRef objRef) |
|
Tag(String key,
String value) |
|
Tag(String key,
String value,
TagProps props) |
| Modifier and Type | Method and Description |
|---|---|
static void |
add(Construct scope,
String key,
String value)
add tags to the node of a construct and all its the taggable children.
|
static void |
add(Construct scope,
String key,
String value,
TagProps props)
add tags to the node of a construct and all its the taggable children.
|
protected void |
applyTag(ITaggable resource) |
String |
getKey()
The string key for the tag.
|
protected TagProps |
getProps() |
String |
getValue()
The string value of the tag.
|
static void |
remove(Construct scope,
String key)
remove tags to the node of a construct and all its the taggable children.
|
static void |
remove(Construct scope,
String key,
TagProps props)
remove tags to the node of a construct and all its the taggable children.
|
void |
visit(IConstruct construct)
All aspects can visit an IConstruct.
|
jsiiAsyncCall, jsiiCall, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticGet, jsiiStaticSetprotected Tag(software.amazon.jsii.JsiiObjectRef objRef)
protected Tag(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Stable) public Tag(String key, String value, TagProps props)
key - This parameter is required.value - This parameter is required.props - @Stability(value=Stable) public static void add(Construct scope, String key, String value, TagProps props)
scope - This parameter is required.key - This parameter is required.value - This parameter is required.props - @Stability(value=Stable) public static void add(Construct scope, String key, String value)
scope - This parameter is required.key - This parameter is required.value - This parameter is required.@Stability(value=Stable) public static void remove(Construct scope, String key, TagProps props)
scope - This parameter is required.key - This parameter is required.props - @Stability(value=Stable) public static void remove(Construct scope, String key)
scope - This parameter is required.key - This parameter is required.@Stability(value=Stable) protected void applyTag(ITaggable resource)
resource - This parameter is required.@Stability(value=Stable) public void visit(IConstruct construct)
@Stability(value=Stable) public String getKey()
@Stability(value=Stable) protected TagProps getProps()
@Stability(value=Stable) public String getValue()
Copyright © 2019. All rights reserved.