Class CdkStage
- All Implemented Interfaces:
IConstruct
,IDependable
,software.amazon.jsii.JsiiSerializable
,software.constructs.IConstruct
You don't need to instantiate this class directly. Use
cdkPipeline.addStage()
instead.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.services.codepipeline.*; import software.amazon.awscdk.services.sns.*; import software.amazon.awscdk.pipelines.*; Artifact artifact; IStage stage; IStageHost stageHost; Topic topic; CdkStage cdkStage = CdkStage.Builder.create(this, "MyCdkStage") .cloudAssemblyArtifact(artifact) .host(stageHost) .pipelineStage(stage) .stageName("stageName") // the properties below are optional .confirmBroadeningPermissions(false) .securityNotificationTopic(topic) .build();
-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
Nested classes/interfaces inherited from interface software.amazon.awscdk.core.IConstruct
IConstruct.Jsii$Default, IConstruct.Jsii$Proxy
Nested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$Default, software.constructs.IConstruct.Jsii$Proxy
-
Constructor Summary
ModifierConstructorDescriptionprotected
CdkStage
(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) Deprecated.protected
CdkStage
(software.amazon.jsii.JsiiObjectRef objRef) Deprecated.CdkStage
(software.constructs.Construct scope, String id, CdkStageProps props) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionvoid
addActions
(@NotNull IAction... actions) Deprecated.void
addApplication
(Stage appStage) Deprecated.void
addApplication
(Stage appStage, AddStageOptions options) Deprecated.void
Deprecated.void
Deprecated.void
addStackArtifactDeployment
(CloudFormationStackArtifact stackArtifact) Deprecated.void
addStackArtifactDeployment
(CloudFormationStackArtifact stackArtifact, AddStackOptions options) Deprecated.deploysStack
(String artifactId) Deprecated.Deprecated.nextSequentialRunOrder
(Number count) Deprecated.Methods inherited from class software.amazon.awscdk.core.Construct
getNode, isConstruct, onPrepare, onSynthesize, onValidate, prepare, synthesize, validate
Methods inherited from class software.constructs.Construct
toString
Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Constructor Details
-
CdkStage
protected CdkStage(software.amazon.jsii.JsiiObjectRef objRef) Deprecated. -
CdkStage
protected CdkStage(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) Deprecated. -
CdkStage
@Stability(Deprecated) @Deprecated public CdkStage(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull CdkStageProps props) Deprecated.- Parameters:
scope
- This parameter is required.id
- This parameter is required.props
- This parameter is required.
-
-
Method Details
-
addActions
Deprecated.(deprecated) Add one or more CodePipeline Actions.You need to make sure it is created with the right runOrder. Call
nextSequentialRunOrder()
for every action to get actions to execute in sequence.- Parameters:
actions
- This parameter is required.
-
addApplication
@Stability(Deprecated) @Deprecated public void addApplication(@NotNull Stage appStage, @Nullable AddStageOptions options) Deprecated.(deprecated) Add all stacks in the application Stage to this stage.The application construct should subclass
Stage
and can contain any number ofStacks
inside it that may have dependency relationships on one another.All stacks in the application will be deployed in the appropriate order, and all assets found in the application will be added to the asset publishing stage.
- Parameters:
appStage
- This parameter is required.options
-
-
addApplication
Deprecated.(deprecated) Add all stacks in the application Stage to this stage.The application construct should subclass
Stage
and can contain any number ofStacks
inside it that may have dependency relationships on one another.All stacks in the application will be deployed in the appropriate order, and all assets found in the application will be added to the asset publishing stage.
- Parameters:
appStage
- This parameter is required.
-
addManualApprovalAction
@Stability(Deprecated) @Deprecated public void addManualApprovalAction(@Nullable AddManualApprovalOptions options) Deprecated.(deprecated) Add a manual approval action.If you need more flexibility than what this method offers, use
addAction
with aManualApprovalAction
.- Parameters:
options
-
-
addManualApprovalAction
Deprecated.(deprecated) Add a manual approval action.If you need more flexibility than what this method offers, use
addAction
with aManualApprovalAction
. -
addStackArtifactDeployment
@Stability(Deprecated) @Deprecated public void addStackArtifactDeployment(@NotNull CloudFormationStackArtifact stackArtifact, @Nullable AddStackOptions options) Deprecated.(deprecated) Add a deployment action based on a stack artifact.- Parameters:
stackArtifact
- This parameter is required.options
-
-
addStackArtifactDeployment
@Stability(Deprecated) @Deprecated public void addStackArtifactDeployment(@NotNull CloudFormationStackArtifact stackArtifact) Deprecated.(deprecated) Add a deployment action based on a stack artifact.- Parameters:
stackArtifact
- This parameter is required.
-
deploysStack
Deprecated.(deprecated) Whether this Stage contains an action to deploy the given stack, identified by its artifact ID.- Parameters:
artifactId
- This parameter is required.
-
nextSequentialRunOrder
@Stability(Deprecated) @Deprecated @NotNull public Number nextSequentialRunOrder(@Nullable Number count) Deprecated.(deprecated) Return the runOrder number necessary to run the next Action in sequence with the rest.FIXME: This is here because Actions are immutable and can't be reordered after creation, nor is there a way to specify relative priorities, which is a limitation that we should take away in the base library.
- Parameters:
count
-
-
nextSequentialRunOrder
Deprecated.(deprecated) Return the runOrder number necessary to run the next Action in sequence with the rest.FIXME: This is here because Actions are immutable and can't be reordered after creation, nor is there a way to specify relative priorities, which is a limitation that we should take away in the base library.
-
CodePipeline
class instead