interface StageDeploymentProps
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Pipelines.StageDeploymentProps |
Java | software.amazon.awscdk.pipelines.StageDeploymentProps |
Python | aws_cdk.pipelines.StageDeploymentProps |
TypeScript (source) | @aws-cdk/pipelines » StageDeploymentProps |
Properties for a StageDeployment.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as cdk from '@aws-cdk/core';
import * as pipelines from '@aws-cdk/pipelines';
declare const stack: cdk.Stack;
declare const step: pipelines.Step;
const stageDeploymentProps: pipelines.StageDeploymentProps = {
post: [step],
pre: [step],
stackSteps: [{
stack: stack,
// the properties below are optional
changeSet: [step],
post: [step],
pre: [step],
}],
stageName: 'stageName',
};
Properties
| Name | Type | Description |
|---|---|---|
| post? | Step[] | Additional steps to run after all of the stacks in the stage. |
| pre? | Step[] | Additional steps to run before any of the stacks in the stage. |
| stack | Stack[] | Instructions for additional steps that are run at the stack level. |
| stage | string | Stage name to use in the pipeline. |
post?
Type:
Step[]
(optional, default: No additional steps)
Additional steps to run after all of the stacks in the stage.
pre?
Type:
Step[]
(optional, default: No additional steps)
Additional steps to run before any of the stacks in the stage.
stackSteps?
Type:
Stack[]
(optional, default: No additional instructions)
Instructions for additional steps that are run at the stack level.
stageName?
Type:
string
(optional, default: Use Stage's construct ID)
Stage name to use in the pipeline.

.NET
Java
Python
TypeScript (