Interface StackSteps

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
StackSteps.Jsii$Proxy

@Generated(value="jsii-pacmak/1.104.0 (build e79254c)", date="2024-11-27T16:51:06.903Z") @Stability(Stable) public interface StackSteps extends software.amazon.jsii.JsiiSerializable
Instructions for additional steps that are run at stack level.

Example:

 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 import software.amazon.awscdk.*;
 import software.amazon.awscdk.pipelines.*;
 Stack stack;
 Step step;
 StackSteps stackSteps = StackSteps.builder()
         .stack(stack)
         // the properties below are optional
         .changeSet(List.of(step))
         .post(List.of(step))
         .pre(List.of(step))
         .build();
 
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static final class 
    A builder for StackSteps
    static final class 
    An implementation for StackSteps
  • Method Summary

    Modifier and Type
    Method
    Description
     
    default List<Step>
    Steps that execute after stack is prepared but before stack is deployed.
    default List<Step>
    Steps that execute after stack is deployed.
    default List<Step>
    Steps that execute before stack is prepared.
    The stack you want the steps to run in.

    Methods inherited from interface software.amazon.jsii.JsiiSerializable

    $jsii$toJson
  • Method Details

    • getStack

      @Stability(Stable) @NotNull Stack getStack()
      The stack you want the steps to run in.
    • getChangeSet

      @Stability(Stable) @Nullable default List<Step> getChangeSet()
      Steps that execute after stack is prepared but before stack is deployed.

      Default: - no additional steps

    • getPost

      @Stability(Stable) @Nullable default List<Step> getPost()
      Steps that execute after stack is deployed.

      Default: - no additional steps

    • getPre

      @Stability(Stable) @Nullable default List<Step> getPre()
      Steps that execute before stack is prepared.

      Default: - no additional steps

    • builder

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