RetryProps¶
-
class
aws_cdk.aws_stepfunctions.
RetryProps
(*, backoff_rate=None, errors=None, interval=None, max_attempts=None)¶ Bases:
object
Retry details.
- Parameters
backoff_rate (
Union
[int
,float
,None
]) – Multiplication for how much longer the wait interval gets on every retry. Default: 2errors (
Optional
[List
[str
]]) – Errors to retry. A list of error strings to retry, which can be either predefined errors (for example Errors.NoChoiceMatched) or a self-defined error. Default: All errorsinterval (
Optional
[Duration
]) – How many seconds to wait initially before retrying. Default: Duration.seconds(1)max_attempts (
Union
[int
,float
,None
]) – How many times to retry this particular error. May be 0 to disable retry for specific errors (in case you have a catch-all retry policy). Default: 3
Attributes
-
backoff_rate
¶ Multiplication for how much longer the wait interval gets on every retry.
- Default
2
- Return type
Union
[int
,float
,None
]
-
errors
¶ Errors to retry.
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
- Return type
Optional
[List
[str
]]
-
interval
¶ How many seconds to wait initially before retrying.
- Default
Duration.seconds(1)
- Return type
Optional
[Duration
]
-
max_attempts
¶ How many times to retry this particular error.
May be 0 to disable retry for specific errors (in case you have a catch-all retry policy).
- Default
3
- Return type
Union
[int
,float
,None
]