@Generated(value="jsii-pacmak/1.28.0 (build 1801f4f)", date="2021-05-04T12:08:33.589Z") @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.Buildersoftware.amazon.jsii.JsiiObject.InitializationModeIConstruct.Jsii$Default, IConstruct.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
|
Construct(software.constructs.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, jsiiStaticSetprotected Construct(software.amazon.jsii.JsiiObjectRef objRef)
protected Construct(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Stable)
public Construct(@NotNull
software.constructs.Construct scope,
@NotNull
String id)
scope - This parameter is required.id - This parameter is required.@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.Constructsession - 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 © 2021. All rights reserved.