@Generated(value="jsii-pacmak/1.74.0 (build 6d08790)", date="2023-03-22T19:35:51.758Z") @Deprecated public class CdkStage extends Construct
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();
Modifier and Type | Class and Description |
---|---|
static class |
CdkStage.Builder
Deprecated.
|
IConstruct.Jsii$Default, IConstruct.Jsii$Proxy
Modifier | Constructor and Description |
---|---|
protected |
CdkStage(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
Deprecated.
|
protected |
CdkStage(software.amazon.jsii.JsiiObjectRef objRef)
Deprecated.
|
|
CdkStage(software.constructs.Construct scope,
java.lang.String id,
CdkStageProps props)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
addActions(IAction... actions)
Deprecated.
|
void |
addApplication(Stage appStage)
Deprecated.
|
void |
addApplication(Stage appStage,
AddStageOptions options)
Deprecated.
|
void |
addManualApprovalAction()
Deprecated.
|
void |
addManualApprovalAction(AddManualApprovalOptions options)
Deprecated.
|
void |
addStackArtifactDeployment(CloudFormationStackArtifact stackArtifact)
Deprecated.
|
void |
addStackArtifactDeployment(CloudFormationStackArtifact stackArtifact,
AddStackOptions options)
Deprecated.
|
java.lang.Boolean |
deploysStack(java.lang.String artifactId)
Deprecated.
|
java.lang.Number |
nextSequentialRunOrder()
Deprecated.
|
java.lang.Number |
nextSequentialRunOrder(java.lang.Number count)
Deprecated.
|
getNode, isConstruct, onPrepare, onSynthesize, onValidate, prepare, synthesize, validate
protected CdkStage(software.amazon.jsii.JsiiObjectRef objRef)
protected CdkStage(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Deprecated public CdkStage(software.constructs.Construct scope, java.lang.String id, CdkStageProps props)
scope
- This parameter is required.id
- This parameter is required.props
- This parameter is required.@Deprecated public void addActions(IAction... 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.
actions
- This parameter is required.@Deprecated public void addApplication(Stage appStage, AddStageOptions options)
The application construct should subclass Stage
and can contain any
number of Stacks
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.
appStage
- This parameter is required.options
- @Deprecated public void addApplication(Stage appStage)
The application construct should subclass Stage
and can contain any
number of Stacks
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.
appStage
- This parameter is required.@Deprecated public void addManualApprovalAction(AddManualApprovalOptions options)
If you need more flexibility than what this method offers,
use addAction
with a ManualApprovalAction
.
options
- @Deprecated public void addManualApprovalAction()
If you need more flexibility than what this method offers,
use addAction
with a ManualApprovalAction
.
@Deprecated public void addStackArtifactDeployment(CloudFormationStackArtifact stackArtifact, AddStackOptions options)
stackArtifact
- This parameter is required.options
- @Deprecated public void addStackArtifactDeployment(CloudFormationStackArtifact stackArtifact)
stackArtifact
- This parameter is required.@Deprecated public java.lang.Boolean deploysStack(java.lang.String artifactId)
artifactId
- This parameter is required.@Deprecated public java.lang.Number nextSequentialRunOrder(java.lang.Number count)
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.
count
- @Deprecated public java.lang.Number nextSequentialRunOrder()
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.