interface StageProps
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.CodePipeline.StageProps |
Java | software.amazon.awscdk.services.codepipeline.StageProps |
Python | aws_cdk.aws_codepipeline.StageProps |
TypeScript (source) | @aws-cdk/aws-codepipeline » StageProps |
Construction properties of a Pipeline Stage.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as codepipeline from '@aws-cdk/aws-codepipeline';
declare const action: codepipeline.Action;
const stageProps: codepipeline.StageProps = {
stageName: 'stageName',
// the properties below are optional
actions: [action],
transitionDisabledReason: 'transitionDisabledReason',
transitionToEnabled: false,
};
Properties
Name | Type | Description |
---|---|---|
stage | string | The physical, human-readable name to assign to this Pipeline Stage. |
actions? | IAction [] | The list of Actions to create this Stage with. |
transition | string | The reason for disabling transition to this stage. |
transition | boolean | Whether to enable transition to this stage. |
stageName
Type:
string
The physical, human-readable name to assign to this Pipeline Stage.
actions?
Type:
IAction
[]
(optional)
The list of Actions to create this Stage with.
You can always add more Actions later by calling {@link IStage#addAction}.
transitionDisabledReason?
Type:
string
(optional, default: 'Transition disabled')
The reason for disabling transition to this stage.
Only applicable
if transitionToEnabled
is set to false
.
transitionToEnabled?
Type:
boolean
(optional, default: true)
Whether to enable transition to this stage.