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.97.0 (build 729de35)", date="2024-04-24T21:00:27.261Z") @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();
 
  • Method Details

    • getStageName

      @Stability(Stable) @NotNull String getStageName()
      The physical, human-readable name to assign to this Pipeline Stage.
    • getActions

      @Stability(Stable) @Nullable default List<IAction> getActions()
      The list of Actions to create this Stage with.

      You can always add more Actions later by calling IStage#addAction.

    • getTransitionDisabledReason

      @Stability(Stable) @Nullable default String getTransitionDisabledReason()
      The reason for disabling transition to this stage.

      Only applicable if transitionToEnabled is set to false.

      Default: 'Transition disabled'

    • getTransitionToEnabled

      @Stability(Stable) @Nullable default Boolean getTransitionToEnabled()
      Whether to enable transition to this stage.

      Default: true

    • builder

      @Stability(Stable) static StageProps.Builder builder()
      Returns:
      a StageProps.Builder of StageProps