Show / Hide Table of Contents

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.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-events-rule-batchretrystrategy.html

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; }
Property Value

double?

Remarks

Valid values are 1–10.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-events-rule-batchretrystrategy.html#cfn-events-rule-batchretrystrategy-attempts

Back to top Generated by DocFX