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 |
Dependency.getSource()
Source the dependency.
|
IConstruct |
Dependency.Jsii$Proxy.getSource() |
IConstruct |
Dependency.getTarget()
Target of the dependency.
|
IConstruct |
Dependency.Jsii$Proxy.getTarget() |
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.getScopes()
All parent scopes of this construct.
|
Modifier and Type | Method and Description |
---|---|
void |
Node.addDependency(IConstruct... dependencies)
Add an ordering dependency on another Construct.
|
Node |
INodeFactory.createNode(Construct host,
IConstruct scope,
String id)
Returns a new `Node` associated with `host`.
|
Node |
INodeFactory.Jsii$Proxy.createNode(Construct host,
IConstruct scope,
String id)
Returns a new `Node` associated with `host`.
|
default Node |
INodeFactory.Jsii$Default.createNode(Construct host,
IConstruct scope,
String id)
Returns a new `Node` associated with `host`.
|
static Node |
Node.of(IConstruct construct)
Returns the node associated with a construct.
|
void |
Node.setDefaultChild(IConstruct value)
Returns the child construct that has the id `Default` or `Resource"`.
|
Dependency.Builder |
Dependency.Builder.source(IConstruct source)
Sets the value of
Dependency.getSource() |
Dependency.Builder |
Dependency.Builder.target(IConstruct target)
Sets the value of
Dependency.getTarget() |
void |
IAspect.visit(IConstruct node)
All aspects can visit an IConstruct.
|
void |
IAspect.Jsii$Proxy.visit(IConstruct node)
All aspects can visit an IConstruct.
|
default void |
IAspect.Jsii$Default.visit(IConstruct node)
All aspects can visit an IConstruct.
|
Constructor and Description |
---|
Jsii$Proxy(IConstruct source,
IConstruct target)
Constructor that initializes the object based on literal property values passed by the
Dependency.Builder . |
Node(Construct host,
IConstruct scope,
String id) |
Copyright © 2021. All rights reserved.