@Generated(value="jsii-pacmak/1.70.0 (build 03c2f6f)", date="2022-11-01T13:16:58.502Z") @Stability(value=Deprecated) @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.
|
software.amazon.jsii.JsiiObject.InitializationModeIConstruct.Jsii$Default, IConstruct.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
|
CdkStage(software.constructs.Construct scope,
String id,
CdkStageProps props)
Deprecated.
|
protected |
CdkStage(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
Deprecated.
|
protected |
CdkStage(software.amazon.jsii.JsiiObjectRef objRef)
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.
|
Boolean |
deploysStack(String artifactId)
Deprecated.
|
Number |
nextSequentialRunOrder()
Deprecated.
|
Number |
nextSequentialRunOrder(Number count)
Deprecated.
|
getNode, isConstruct, onPrepare, onSynthesize, onValidate, prepare, synthesize, validatejsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetprotected CdkStage(software.amazon.jsii.JsiiObjectRef objRef)
protected CdkStage(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Deprecated) @Deprecated public CdkStage(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull CdkStageProps props)
scope - This parameter is required.id - This parameter is required.props - This parameter is required.@Stability(value=Deprecated) @Deprecated public void addActions(@NotNull 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.@Stability(value=Deprecated) @Deprecated public void addApplication(@NotNull Stage appStage, @Nullable 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 - @Stability(value=Deprecated) @Deprecated public void addApplication(@NotNull 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.@Stability(value=Deprecated) @Deprecated public void addManualApprovalAction(@Nullable AddManualApprovalOptions options)
If you need more flexibility than what this method offers,
use addAction with a ManualApprovalAction.
options - @Stability(value=Deprecated) @Deprecated public void addManualApprovalAction()
If you need more flexibility than what this method offers,
use addAction with a ManualApprovalAction.
@Stability(value=Deprecated) @Deprecated public void addStackArtifactDeployment(@NotNull CloudFormationStackArtifact stackArtifact, @Nullable AddStackOptions options)
stackArtifact - This parameter is required.options - @Stability(value=Deprecated) @Deprecated public void addStackArtifactDeployment(@NotNull CloudFormationStackArtifact stackArtifact)
stackArtifact - This parameter is required.@Stability(value=Deprecated) @Deprecated @NotNull public Boolean deploysStack(@NotNull String artifactId)
artifactId - This parameter is required.@Stability(value=Deprecated) @Deprecated @NotNull public Number nextSequentialRunOrder(@Nullable 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 - @Stability(value=Deprecated) @Deprecated @NotNull public 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.
Copyright © 2022. All rights reserved.