Show / Hide Table of Contents

Class CfnRule.BatchRetryStrategyProperty

The retry strategy to use for failed jobs, if the target is an AWS Batch job.

Inheritance
object
CfnRule.BatchRetryStrategyProperty
Implements
CfnRule.IBatchRetryStrategyProperty
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Amazon.CDK.AWS.Events
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnRule.BatchRetryStrategyProperty : CfnRule.IBatchRetryStrategyProperty
Syntax (vb)
Public Class CfnRule.BatchRetryStrategyProperty Implements 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

Constructors

BatchRetryStrategyProperty()

The retry strategy to use for failed jobs, if the target is an AWS Batch job.

Properties

Attempts

The number of times to attempt to retry, if the job fails.

Constructors

BatchRetryStrategyProperty()

The retry strategy to use for failed jobs, if the target is an AWS Batch job.

public BatchRetryStrategyProperty()
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
             };

Properties

Attempts

The number of times to attempt to retry, if the job fails.

public double? Attempts { get; set; }
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

Implements

CfnRule.IBatchRetryStrategyProperty
Back to top Generated by DocFX