@Generated(value="jsii-pacmak/1.11.0 (build 1e9b8e1)", date="2020-09-13T06:02:40.358Z") @Stability(value=Stable) public class Construct extends software.constructs.Construct implements IConstruct
All constructs besides the root construct must be created within the scope of another construct.
software.constructs.Construct.Builder
software.amazon.jsii.JsiiObject.InitializationMode
IConstruct.Jsii$Proxy
Modifier | Constructor and Description |
---|---|
|
Construct(Construct scope,
String id) |
protected |
Construct(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
Construct(software.amazon.jsii.JsiiObjectRef objRef) |
Modifier and Type | Method and Description |
---|---|
ConstructNode |
getNode()
The construct tree node associated with this construct.
|
static Boolean |
isConstruct(Object x)
Return whether the given object is a Construct.
|
protected void |
onPrepare()
Perform final modifications before synthesis.
|
protected void |
onSynthesize(software.constructs.ISynthesisSession session)
Allows this construct to emit artifacts into the cloud assembly during synthesis.
|
protected List<String> |
onValidate()
Validate the current 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.
|
protected List<String> |
validate()
Validate the current construct.
|
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet
protected Construct(software.amazon.jsii.JsiiObjectRef objRef)
protected Construct(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Stable) @NotNull public static Boolean isConstruct(@NotNull Object x)
x
- This parameter is required.@Stability(value=Stable) protected void onPrepare()
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.
onPrepare
in class software.constructs.Construct
@Stability(value=Stable) protected void onSynthesize(@NotNull software.constructs.ISynthesisSession session)
This method is usually implemented by framework-level constructs such as Stack
and Asset
as they participate in synthesizing the cloud assembly.
onSynthesize
in class software.constructs.Construct
session
- The synthesis session. This parameter is required.@Stability(value=Stable) @NotNull protected List<String> onValidate()
This method can be implemented by derived constructs in order to perform validation logic. It is called on all constructs before synthesis.
onValidate
in class software.constructs.Construct
@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(@NotNull 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) @NotNull 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) @NotNull public ConstructNode getNode()
Copyright © 2020. All rights reserved.