@Generated(value="jsii-pacmak/1.30.0 (build adae23f)", date="2021-06-30T10:00:45.955Z") @Stability(value=Experimental) public class Stage extends software.constructs.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
(experimental) A fluent builder for
Stage . |
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()
(experimental) The cloud assembly asset output directory.
|
String |
getOutdir()
(experimental) 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()
(experimental) Synthesize this stage into a cloud assembly.
|
CloudAssembly |
synth(StageSynthesisOptions options)
(experimental) Synthesize this stage into a cloud assembly.
|
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
protected Stage(software.amazon.jsii.JsiiObjectRef objRef)
protected Stage(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Experimental) 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=Experimental) 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=Experimental) @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=Experimental) @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=Experimental) @NotNull public String getAssetOutdir()
@Stability(value=Experimental) @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 © 2021. All rights reserved.