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.110.0 (build 336b265)",
date="2025-04-22T23:08:09.291Z")
@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;
Rule rule;
StageProps stageProps = StageProps.builder()
.stageName("stageName")
// the properties below are optional
.actions(List.of(action))
.beforeEntry(Conditions.builder()
.conditions(List.of(Condition.builder()
.result(Result.ROLLBACK)
.rules(List.of(rule))
.build()))
.build())
.onFailure(FailureConditions.builder()
.conditions(List.of(Condition.builder()
.result(Result.ROLLBACK)
.rules(List.of(rule))
.build()))
.result(Result.ROLLBACK)
.retryMode(RetryMode.ALL_ACTIONS)
.build())
.onSuccess(Conditions.builder()
.conditions(List.of(Condition.builder()
.result(Result.ROLLBACK)
.rules(List.of(rule))
.build()))
.build())
.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.default ConditionsThe method to use when a stage allows entry.default FailureConditionsThe method to use when a stage has not completed successfully.default ConditionsThe method to use when a stage has succeeded.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. -
getBeforeEntry
The method to use when a stage allows entry.Default: - No conditions are applied before stage entry
-
getOnFailure
The method to use when a stage has not completed successfully.Default: - No failure conditions are applied
-
getOnSuccess
The method to use when a stage has succeeded.Default: - No success conditions are applied
-
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
-