Class CatchProps
Error handler details.
Inheritance
System.Object
CatchProps
Implements
Namespace: Amazon.CDK.AWS.StepFunctions
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CatchProps : Object, ICatchProps
Syntax (vb)
Public Class CatchProps
Inherits Object
Implements ICatchProps
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.StepFunctions;
var catchProps = new CatchProps {
Errors = new [] { "errors" },
ResultPath = "resultPath"
};
Synopsis
Constructors
CatchProps() |
Properties
Errors | Errors to recover from by going to the given state. |
ResultPath | JSONPath expression to indicate where to inject the error data. |
Constructors
CatchProps()
public CatchProps()
Properties
Errors
Errors to recover from by going to the given state.
public string[] Errors { get; set; }
Property Value
System.String[]
Remarks
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
ResultPath
JSONPath expression to indicate where to inject the error data.
public string ResultPath { get; set; }
Property Value
System.String
Remarks
May also be the special value JsonPath.DISCARD, which will cause the error data to be discarded.
Default: $