Modifier and Type | Interface and Description |
---|---|
static interface |
IConstruct.Jsii$Default
Internal default implementation for
IConstruct . |
Modifier and Type | Class and Description |
---|---|
class |
Construct
Represents the building block of the construct graph.
|
static class |
IConstruct.Jsii$Proxy
A proxy class which represents a concrete javascript instance of this type.
|
Modifier and Type | Method and Description |
---|---|
IConstruct |
Node.findChild(String id)
Return a direct child by id.
|
IConstruct |
Node.getDefaultChild()
Returns the child construct that has the id `Default` or `Resource"`.
|
IConstruct |
Node.getRoot()
Returns the root of the construct tree.
|
IConstruct |
Node.getScope()
Returns the scope in which this construct is defined.
|
IConstruct |
Node.tryFindChild(String id)
Return a direct child by id, or undefined.
|
Modifier and Type | Method and Description |
---|---|
List<IConstruct> |
Node.findAll()
Return this construct and all of its children in the given order.
|
List<IConstruct> |
Node.findAll(ConstructOrder order)
Return this construct and all of its children in the given order.
|
List<IConstruct> |
Node.getChildren()
All direct children of this construct.
|
List<IConstruct> |
Node.getDependencies()
Return all dependencies registered on this node (non-recursive).
|
abstract List<IConstruct> |
Dependable.getDependencyRoots()
(experimental) The set of constructs that form the root of this dependable.
|
List<IConstruct> |
Node.getScopes()
All parent scopes of this construct.
|
Modifier and Type | Method and Description |
---|---|
static Node |
Node.of(IConstruct construct)
Deprecated.
use `construct.node` instead
|
void |
Node.setDefaultChild(IConstruct value)
Returns the child construct that has the id `Default` or `Resource"`.
|
Constructor and Description |
---|
Node(Construct host,
IConstruct scope,
String id) |
Copyright © 2021. All rights reserved.