Show / Hide Table of Contents

Class TreeInspector

Inspector that maintains an attribute bag.

Inheritance
System.Object
TreeInspector
Namespace: Amazon.CDK
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class TreeInspector : DeputyBase
Syntax (vb)
Public Class TreeInspector
    Inherits DeputyBase
Remarks

ExampleMetadata: fixture=_generated

Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK;

TreeInspector treeInspector = new TreeInspector();

Synopsis

Constructors

TreeInspector()
TreeInspector(ByRefValue)

Used by jsii to construct an instance of this class from a Javascript-owned object reference

TreeInspector(DeputyBase.DeputyProps)

Used by jsii to construct an instance of this class from DeputyProps

Properties

Attributes

Represents the bag of attributes as key-value pairs.

Methods

AddAttribute(String, Object)

Adds attribute to bag.

Constructors

TreeInspector()

public TreeInspector()

TreeInspector(ByRefValue)

Used by jsii to construct an instance of this class from a Javascript-owned object reference

protected TreeInspector(ByRefValue reference)
Parameters
reference Amazon.JSII.Runtime.Deputy.ByRefValue

The Javascript-owned object reference

TreeInspector(DeputyBase.DeputyProps)

Used by jsii to construct an instance of this class from DeputyProps

protected TreeInspector(DeputyBase.DeputyProps props)
Parameters
props Amazon.JSII.Runtime.Deputy.DeputyBase.DeputyProps

The deputy props

Properties

Attributes

Represents the bag of attributes as key-value pairs.

public virtual IDictionary<string, object> Attributes { get; }
Property Value

System.Collections.Generic.IDictionary<System.String, System.Object>

Methods

AddAttribute(String, Object)

Adds attribute to bag.

public virtual void AddAttribute(string key, object value)
Parameters
key System.String
  • key for metadata.
value System.Object
  • value of metadata.
Remarks

Keys should be added by convention to prevent conflicts i.e. L1 constructs will contain attributes with keys prefixed with aws:cdk:cloudformation

Back to top Generated by DocFX