Interface CatchProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CatchProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.104.0 (build e79254c)",
date="2024-12-06T14:43:27.684Z")
@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
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCatchProps
static final class
An implementation forCatchProps
-
Method Summary
Modifier and TypeMethodDescriptionstatic CatchProps.Builder
builder()
Errors to recover from by going to the given state.default String
JSONPath 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 JsonPath.DISCARD, which will cause the error data to be discarded.
Default: $
-
builder
- Returns:
- a
CatchProps.Builder
ofCatchProps
-