| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.CloudWatchEvents.Types.BatchRetryStrategy
Description
Documentation
data BatchRetryStrategy Source #
The retry strategy to use for failed jobs, if the target is an Batch job. If you specify a retry strategy here, it overrides the retry strategy defined in the job definition.
See: newBatchRetryStrategy smart constructor.
Constructors
| BatchRetryStrategy' | |
Instances
newBatchRetryStrategy :: BatchRetryStrategy Source #
Create a value of BatchRetryStrategy with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:attempts:BatchRetryStrategy', batchRetryStrategy_attempts - The number of times to attempt to retry, if the job fails. Valid values
are 1–10.
batchRetryStrategy_attempts :: Lens' BatchRetryStrategy (Maybe Int) Source #
The number of times to attempt to retry, if the job fails. Valid values are 1–10.