Interface CdkCommand

    • Method Detail

      • getEnabled

        @Stability(Stable)
        @Nullable
        default Boolean getEnabled()
        Whether or not to run this command as part of the workflow This can be used if you only want to test some of the workflow for example enable synth and disable deploy & destroy in order to limit the test to synthesis.

        Default: true

      • getExpectedMessage

        @Stability(Stable)
        @Nullable
        default String getExpectedMessage()
        This can be used in combination with expectedError to validate that a specific message is returned.

        Default: - do not validate message

      • getExpectError

        @Stability(Stable)
        @Nullable
        default Boolean getExpectError()
        If the runner should expect this command to fail.

        Default: false