class RootConstruct
Language | Type name |
---|---|
![]() | Constructs.RootConstruct |
![]() | software.constructs.RootConstruct |
![]() | constructs.RootConstruct |
![]() | constructs » RootConstruct |
Implements
IConstruct
, IDependable
Extends
Construct
Creates a new root construct node.
The root construct represents the top of the construct tree and is not contained within a parent scope itself. For root constructs, the id is optional.
Initializer
new RootConstruct(id?: string)
Parameters
- id
string
— The scoped construct ID.
Creates a new root construct node.
Properties
Name | Type | Description |
---|---|---|
node | Node | The tree node. |
node
Type:
Node
The tree node.
Methods
Name | Description |
---|---|
to | Returns a string representation of this construct. |
toString()
public toString(): string
Returns
string
Returns a string representation of this construct.