Package software.amazon.awscdk
Class RemoveTag
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.RemoveTag
- All Implemented Interfaces:
IAspect,software.amazon.jsii.JsiiSerializable
@Generated(value="jsii-pacmak/1.119.0 (build 1634eac)",
date="2025-11-17T14:40:43.907Z")
@Stability(Stable)
public class RemoveTag
extends software.amazon.jsii.JsiiObject
implements IAspect
The RemoveTag Aspect will handle removing tags from this node and children.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.*;
RemoveTag removeTag = RemoveTag.Builder.create("key")
.applyToLaunchedInstances(false)
.excludeResourceTypes(List.of("excludeResourceTypes"))
.includeResourceTypes(List.of("includeResourceTypes"))
.priority(123)
.build();
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.amazon.awscdk.IAspect
IAspect.Jsii$Default, IAspect.Jsii$Proxy -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidprotected voidapplyTagV2(ITaggableV2 resource) getKey()The string key for the tag.protected TagPropsgetProps()voidvisit(software.constructs.IConstruct construct) All aspects can visit an IConstruct.Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Constructor Details
-
RemoveTag
protected RemoveTag(software.amazon.jsii.JsiiObjectRef objRef) -
RemoveTag
protected RemoveTag(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
RemoveTag
- Parameters:
key- The string key for the tag. This parameter is required.props-
-
RemoveTag
- Parameters:
key- The string key for the tag. This parameter is required.
-
-
Method Details
-
applyTag
- Parameters:
resource- This parameter is required.
-
applyTagV2
- Parameters:
resource- This parameter is required.
-
visit
@Stability(Stable) public void visit(@NotNull software.constructs.IConstruct construct) All aspects can visit an IConstruct. -
getKey
The string key for the tag. -
getProps
-