Construct(scope, id, *, node_factory=None)¶
Represents the building block of the construct graph.
All constructs besides the root construct must be created within the scope of another construct.
Creates a new construct node.
Construct) – The scope in which to define this construct.
str) – The scoped construct ID. Must be unique amongst siblings. If the ID includes a path separator (
/), then it will be replaced by double dash
INodeFactory]) – A factory for attaching
Node``s to the construct. Default: - the default ``Nodeis associated
Returns a string representation of this construct.
- Return type