@Generated(value="jsii-pacmak/1.30.0 (build adae23f)", date="2021-06-30T10:00:45.958Z") @Stability(value=Experimental) public class TagManager extends software.amazon.jsii.JsiiObject
| Modifier and Type | Class and Description |
|---|---|
static class |
TagManager.Builder
(experimental) A fluent builder for
TagManager. |
| Modifier | Constructor and Description |
|---|---|
protected |
TagManager(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
TagManager(software.amazon.jsii.JsiiObjectRef objRef) |
|
TagManager(TagType tagType,
String resourceTypeName) |
|
TagManager(TagType tagType,
String resourceTypeName,
Object tagStructure) |
|
TagManager(TagType tagType,
String resourceTypeName,
Object tagStructure,
TagManagerOptions options) |
| Modifier and Type | Method and Description |
|---|---|
Boolean |
applyTagAspectHere()
(experimental) Determine if the aspect applies here.
|
Boolean |
applyTagAspectHere(List<String> include)
(experimental) Determine if the aspect applies here.
|
Boolean |
applyTagAspectHere(List<String> include,
List<String> exclude)
(experimental) Determine if the aspect applies here.
|
String |
getTagPropertyName()
(experimental) The property name for tag values.
|
Boolean |
hasTags()
(experimental) Returns true if there are any tags defined.
|
static Boolean |
isTaggable(Object construct)
(experimental) Check whether the given construct is Taggable.
|
void |
removeTag(String key,
Number priority)
(experimental) Removes the specified tag from the array if it exists.
|
Object |
renderTags()
(experimental) Renders tags into the proper format based on TagType.
|
void |
setTag(String key,
String value)
(experimental) Adds the specified tag to the array of tags.
|
void |
setTag(String key,
String value,
Number priority)
(experimental) Adds the specified tag to the array of tags.
|
void |
setTag(String key,
String value,
Number priority,
Boolean applyToLaunchedInstances)
(experimental) Adds the specified tag to the array of tags.
|
Map<String,String> |
tagValues()
(experimental) Render the tags in a readable format.
|
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetprotected TagManager(software.amazon.jsii.JsiiObjectRef objRef)
protected TagManager(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Experimental)
public TagManager(@NotNull
TagType tagType,
@NotNull
String resourceTypeName,
@Nullable
Object tagStructure,
@Nullable
TagManagerOptions options)
tagType - This parameter is required.resourceTypeName - This parameter is required.tagStructure - options - @Stability(value=Experimental)
public TagManager(@NotNull
TagType tagType,
@NotNull
String resourceTypeName,
@Nullable
Object tagStructure)
tagType - This parameter is required.resourceTypeName - This parameter is required.tagStructure - @Stability(value=Experimental) @NotNull public static Boolean isTaggable(@NotNull Object construct)
construct - This parameter is required.@Stability(value=Experimental) @NotNull public Boolean applyTagAspectHere(@Nullable List<String> include, @Nullable List<String> exclude)
Looks at the include and exclude resourceTypeName arrays to determine if the aspect applies here
include - exclude - @Stability(value=Experimental) @NotNull public Boolean applyTagAspectHere(@Nullable List<String> include)
Looks at the include and exclude resourceTypeName arrays to determine if the aspect applies here
include - @Stability(value=Experimental) @NotNull public Boolean applyTagAspectHere()
Looks at the include and exclude resourceTypeName arrays to determine if the aspect applies here
@Stability(value=Experimental) @NotNull public Boolean hasTags()
@Stability(value=Experimental)
public void removeTag(@NotNull
String key,
@NotNull
Number priority)
key - The tag to remove. This parameter is required.priority - The priority of the remove operation. This parameter is required.@Stability(value=Experimental) @NotNull public Object renderTags()
@Stability(value=Experimental)
public void setTag(@NotNull
String key,
@NotNull
String value,
@Nullable
Number priority,
@Nullable
Boolean applyToLaunchedInstances)
key - This parameter is required.value - This parameter is required.priority - applyToLaunchedInstances - @Stability(value=Experimental)
public void setTag(@NotNull
String key,
@NotNull
String value,
@Nullable
Number priority)
key - This parameter is required.value - This parameter is required.priority - @Stability(value=Experimental)
public void setTag(@NotNull
String key,
@NotNull
String value)
key - This parameter is required.value - This parameter is required.@Stability(value=Experimental) @NotNull public Map<String,String> tagValues()
@Stability(value=Experimental) @NotNull public String getTagPropertyName()
Normally this is tags but some resources choose a different name. Cognito
UserPool uses UserPoolTags
Copyright © 2021. All rights reserved.