Interface StageProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Subinterfaces:
StageOptions
- All Known Implementing Classes:
StageOptions.Jsii$Proxy,StageProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.104.0 (build e79254c)",
date="2024-11-21T06:34:05.334Z")
@Stability(Stable)
public interface StageProps
extends software.amazon.jsii.JsiiSerializable
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 software.amazon.awscdk.services.codepipeline.*;
Action action;
StageProps stageProps = StageProps.builder()
.stageName("stageName")
// the properties below are optional
.actions(List.of(action))
.transitionDisabledReason("transitionDisabledReason")
.transitionToEnabled(false)
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forStagePropsstatic final classAn implementation forStageProps -
Method Summary
Modifier and TypeMethodDescriptionstatic StageProps.Builderbuilder()The list of Actions to create this Stage with.The physical, human-readable name to assign to this Pipeline Stage.default StringThe reason for disabling transition to this stage.default BooleanWhether to enable transition to this stage.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getStageName
The physical, human-readable name to assign to this Pipeline Stage. -
getActions
The list of Actions to create this Stage with.You can always add more Actions later by calling
IStage#addAction. -
getTransitionDisabledReason
The reason for disabling transition to this stage.Only applicable if
transitionToEnabledis set tofalse.Default: 'Transition disabled'
-
getTransitionToEnabled
Whether to enable transition to this stage.Default: true
-
builder
- Returns:
- a
StageProps.BuilderofStageProps
-