Class CfnRule.BatchRetryStrategyProperty
The retry strategy to use for failed jobs, if the target is an AWS Batch job.
Inheritance
System.Object
CfnRule.BatchRetryStrategyProperty
Implements
Namespace: Amazon.CDK.AWS.Events
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class BatchRetryStrategyProperty : Object, CfnRule.IBatchRetryStrategyProperty
Syntax (vb)
Public Class BatchRetryStrategyProperty
Inherits Object
Implements 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
Constructors
BatchRetryStrategyProperty() |
Properties
Attempts | The number of times to attempt to retry, if the job fails. |
Constructors
BatchRetryStrategyProperty()
public BatchRetryStrategyProperty()
Properties
Attempts
The number of times to attempt to retry, if the job fails.
public Nullable<double> Attempts { get; set; }
Property Value
System.Nullable<System.Double>