Construct
- Implements: IConstruct
Represents the building block of the construct graph.
All constructs besides the root construct must be created within the scope of another construct.
Initializers
using AlibabaCloud.SDK.ROS.CDK.Core;
new Construct(Construct Scope, string Id);
Name | Type | Description |
---|---|---|
Scope |
Construct |
No description. |
Id |
string |
No description. |
Scope
Required
- Type: Construct
Id
Required
- Type: string
Methods
Name | Description |
---|---|
ToString |
Returns a string representation of this construct. |
Synthesize |
Allows this construct to emit artifacts into the cloud assembly during synthesis. |
ToString
private string ToString()
Returns a string representation of this construct.
Synthesize
private void Synthesize(ISynthesisSession Session)
Allows this construct to emit artifacts into the cloud assembly during synthesis.
This method is usually implemented by framework-level constructs such as Stack
and Asset
as they participate in synthesizing the cloud assembly.
- Type: ISynthesisSession
The synthesis session.
Static Functions
Name | Description |
---|---|
IsConstruct |
Return whether the given object is a Construct. |
IsConstruct
using AlibabaCloud.SDK.ROS.CDK.Core;
Construct.IsConstruct(object X);
Return whether the given object is a Construct.
- Type: object
Properties
Name | Type | Description |
---|---|---|
Node |
ConstructNode |
The construct tree node associated with this construct. |
Node
Required
public ConstructNode Node { get; }
- Type: ConstructNode
The construct tree node associated with this construct.