Package software.amazon.awscdk
Class TreeInspector
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.TreeInspector
- All Implemented Interfaces:
software.amazon.jsii.JsiiSerializable
@Generated(value="jsii-pacmak/1.104.0 (build e79254c)",
date="2024-12-17T21:37:25.167Z")
@Stability(Stable)
public class TreeInspector
extends software.amazon.jsii.JsiiObject
Inspector that maintains an attribute bag.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.*; TreeInspector treeInspector = new TreeInspector();
-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
-
Constructor Summary
ModifierConstructorDescriptionprotected
TreeInspector
(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protected
TreeInspector
(software.amazon.jsii.JsiiObjectRef objRef) -
Method Summary
Modifier and TypeMethodDescriptionvoid
addAttribute
(String key, Object value) Adds attribute to bag.Represents the bag of attributes as key-value pairs.Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Constructor Details
-
TreeInspector
protected TreeInspector(software.amazon.jsii.JsiiObjectRef objRef) -
TreeInspector
protected TreeInspector(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
TreeInspector
@Stability(Stable) public TreeInspector()
-
-
Method Details
-
addAttribute
Adds attribute to bag.Keys should be added by convention to prevent conflicts i.e. L1 constructs will contain attributes with keys prefixed with aws:cdk:cloudformation
- Parameters:
key
-- key for metadata.
value
-- value of metadata.
-
getAttributes
Represents the bag of attributes as key-value pairs.
-