@Generated(value="jsii-pacmak/1.15.0 (build 585166b)", date="2020-12-12T01:56:06.292Z") @Stability(value=Stable) public class Stage extends Construct
Derive a subclass of Stage and use it to model a single instance of your
application.
You can then instantiate your subclass multiple times to model multiple copies of your application which should be be deployed to different environments.
| Modifier and Type | Class and Description |
|---|---|
static class |
Stage.Builder
A fluent builder for
Stage. |
software.amazon.jsii.JsiiObject.InitializationModeIConstruct.Jsii$Default, IConstruct.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
|
Stage(software.constructs.Construct scope,
String id) |
|
Stage(software.constructs.Construct scope,
String id,
StageProps props) |
protected |
Stage(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
Stage(software.amazon.jsii.JsiiObjectRef objRef) |
| Modifier and Type | Method and Description |
|---|---|
String |
getAccount()
(experimental) The default account for all resources defined within this stage.
|
String |
getArtifactId()
(experimental) Artifact ID of the assembly if it is a nested stage.
|
String |
getAssetOutdir()
The cloud assembly asset output directory.
|
String |
getOutdir()
The cloud assembly output directory.
|
Stage |
getParentStage()
(experimental) The parent stage or `undefined` if this is the app.
|
String |
getRegion()
(experimental) The default region for all resources defined within this stage.
|
String |
getStageName()
(experimental) The name of the stage.
|
static Boolean |
isStage(Object x)
(experimental) Test whether the given construct is a stage.
|
static Stage |
of(software.constructs.IConstruct construct)
(experimental) Return the stage this construct is contained with, if available.
|
CloudAssembly |
synth()
Synthesize this stage into a cloud assembly.
|
CloudAssembly |
synth(StageSynthesisOptions options)
Synthesize this stage into a cloud assembly.
|
getNode, isConstruct, onPrepare, onSynthesize, onValidate, prepare, synthesize, validatejsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetprotected Stage(software.amazon.jsii.JsiiObjectRef objRef)
protected Stage(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Stable)
public Stage(@NotNull
software.constructs.Construct scope,
@NotNull
String id,
@Nullable
StageProps props)
scope - This parameter is required.id - This parameter is required.props - @Stability(value=Stable)
public Stage(@NotNull
software.constructs.Construct scope,
@NotNull
String id)
scope - This parameter is required.id - This parameter is required.@Stability(value=Experimental) @NotNull public static Boolean isStage(@NotNull Object x)
x - This parameter is required.@Stability(value=Experimental) @Nullable public static Stage of(@NotNull software.constructs.IConstruct construct)
If called on a nested stage, returns its parent.
construct - This parameter is required.@Stability(value=Stable) @NotNull public CloudAssembly synth(@Nullable StageSynthesisOptions options)
Once an assembly has been synthesized, it cannot be modified. Subsequent calls will return the same assembly.
options - @Stability(value=Stable) @NotNull public CloudAssembly synth()
Once an assembly has been synthesized, it cannot be modified. Subsequent calls will return the same assembly.
@Stability(value=Experimental) @NotNull public String getArtifactId()
Derived from the construct path.
@Stability(value=Stable) @NotNull public String getAssetOutdir()
@Stability(value=Stable) @NotNull public String getOutdir()
@Stability(value=Experimental) @NotNull public String getStageName()
Based on names of the parent stages separated by hypens.
@Stability(value=Experimental) @Nullable public String getAccount()
@Stability(value=Experimental) @Nullable public Stage getParentStage()
@Stability(value=Experimental) @Nullable public String getRegion()
Copyright © 2020. All rights reserved.