interface INodeFactory
Language | Type name |
---|---|
![]() | Constructs.INodeFactory |
![]() | software.constructs.INodeFactory |
![]() | constructs.INodeFactory |
![]() | constructs » INodeFactory |
A factory for attaching Node
s 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
.