Interface CatchProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CatchProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
date="2023-06-19T16:30:39.857Z")
@Stability(Stable)
public interface CatchProps
extends software.amazon.jsii.JsiiSerializable
Error handler details.
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.stepfunctions.*;
CatchProps catchProps = CatchProps.builder()
.errors(List.of("errors"))
.resultPath("resultPath")
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCatchPropsstatic final classAn implementation forCatchProps -
Method Summary
Modifier and TypeMethodDescriptionstatic CatchProps.Builderbuilder()Errors to recover from by going to the given state.default StringJSONPath expression to indicate where to inject the error data.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getErrors
Errors to recover from by going to the given state.A list of error strings to retry, which can be either predefined errors (for example Errors.NoChoiceMatched) or a self-defined error.
Default: All errors
-
getResultPath
JSONPath expression to indicate where to inject the error data.May also be the special value DISCARD, which will cause the error data to be discarded.
Default: $
-
builder
- Returns:
- a
CatchProps.BuilderofCatchProps
-