interface INodeFactory
| Language | Type name |
|---|---|
.NET | Constructs.INodeFactory |
Java | software.constructs.INodeFactory |
Python | constructs.INodeFactory |
TypeScript (source) | constructs » INodeFactory |
A factory for attaching Nodes to the construct.
Methods
| Name | Description |
|---|---|
| create | Returns a new Node associated with host. |
createNode(host, scope, id)
public createNode(host: Construct, scope: IConstruct, id: string): Node
Parameters
- host
Construct— the associated construct. - scope
IConstruct— the construct's scope (parent). - id
string— the construct id.
Returns
Returns a new Node associated with host.

.NET
Java
Python
TypeScript (