@Generated(value="jsii-pacmak/0.21.1 (build 9ff44cb)", date="2020-01-07T23:10:40.707Z") @Stability(value=Stable) public class Construct extends software.amazon.jsii.JsiiObject implements IConstruct
All constructs besides the root construct must be created within the scope of another construct.
software.amazon.jsii.JsiiObject.InitializationModeIConstruct.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
|
Construct(Construct scope,
String id)
Creates a new construct node.
|
protected |
Construct(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
Construct(software.amazon.jsii.JsiiObjectRef objRef) |
| Modifier and Type | Method and Description |
|---|---|
ConstructNode |
getNode()
Construct tree node which offers APIs for interacting with the construct tree.
|
static Boolean |
isConstruct(Object x)
Return whether the given object is a Construct.
|
protected void |
prepare()
Perform final modifications before synthesis.
|
protected void |
synthesize(ISynthesisSession session)
Allows this construct to emit artifacts into the cloud assembly during synthesis.
|
String |
toString()
Returns a string representation of this construct.
|
protected List<String> |
validate()
Validate the current construct.
|
jsiiAsyncCall, jsiiCall, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticGet, jsiiStaticSetprotected Construct(software.amazon.jsii.JsiiObjectRef objRef)
protected Construct(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Stable) public static Boolean isConstruct(Object x)
x - This parameter is required.@Stability(value=Stable) protected void prepare()
This method can be implemented by derived constructs in order to perform final changes before synthesis. prepare() will be called after child constructs have been prepared.
This is an advanced framework feature. Only use this if you understand the implications.
@Stability(value=Stable) protected void synthesize(ISynthesisSession session)
This method is usually implemented by framework-level constructs such as Stack and Asset
as they participate in synthesizing the cloud assembly.
session - The synthesis session. This parameter is required.@Stability(value=Stable) public String toString()
@Stability(value=Stable) protected List<String> validate()
This method can be implemented by derived constructs in order to perform validation logic. It is called on all constructs before synthesis.
@Stability(value=Stable) public ConstructNode getNode()
getNode in interface IConstructCopyright © 2020. All rights reserved.