@Generated(value="jsii-pacmak/1.73.0 (build 6faeda3)",
date="2023-01-25T18:29:03.990Z")
public interface CatchProps
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();
Modifier and Type | Interface and Description |
---|---|
static class |
CatchProps.Builder
A builder for
CatchProps |
static class |
CatchProps.Jsii$Proxy
An implementation for
CatchProps |
Modifier and Type | Method and Description |
---|---|
static CatchProps.Builder |
builder() |
default java.util.List<java.lang.String> |
getErrors()
Errors to recover from by going to the given state.
|
default java.lang.String |
getResultPath()
JSONPath expression to indicate where to inject the error data.
|
default java.util.List<java.lang.String> getErrors()
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
default java.lang.String getResultPath()
May also be the special value DISCARD, which will cause the error data to be discarded.
Default: $
static CatchProps.Builder builder()
CatchProps.Builder
of CatchProps