Interface CfnRule.IBatchRetryStrategyProperty
The retry strategy to use for failed jobs, if the target is an AWS Batch job.
Namespace: Amazon.CDK.AWS.Events
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface CfnRule.IBatchRetryStrategyProperty
Syntax (vb)
Public Interface CfnRule.IBatchRetryStrategyProperty
Remarks
If you specify a retry strategy here, it overrides the retry strategy defined in the job definition.
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.Events;
var batchRetryStrategyProperty = new BatchRetryStrategyProperty {
Attempts = 123
};
Synopsis
Properties
| Attempts | The number of times to attempt to retry, if the job fails. |
Properties
Attempts
The number of times to attempt to retry, if the job fails.
double? Attempts { get; }