AWS SDK Version 3 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

The retry strategy that's associated with a job. For more information, see Automated job retries in the Batch User Guide.

Inheritance Hierarchy

System.Object
  Amazon.Batch.Model.RetryStrategy

Namespace: Amazon.Batch.Model
Assembly: AWSSDK.Batch.dll
Version: 3.x.y.z

Syntax

C#
public class RetryStrategy

The RetryStrategy type exposes the following members

Constructors

NameDescription
Public Method RetryStrategy()

Properties

NameTypeDescription
Public Property Attempts System.Int32

Gets and sets the property Attempts.

The number of times to move a job to the RUNNABLE status. You can specify between 1 and 10 attempts. If the value of attempts is greater than one, the job is retried on failure the same number of attempts as the value.

Public Property EvaluateOnExit System.Collections.Generic.List<Amazon.Batch.Model.EvaluateOnExit>

Gets and sets the property EvaluateOnExit.

Array of up to 5 objects that specify the conditions where jobs are retried or failed. If this parameter is specified, then the attempts parameter must also be specified. If none of the listed conditions match, then the job is retried.

Version Information

.NET Core App:
Supported in: 3.1

.NET Standard:
Supported in: 2.0

.NET Framework:
Supported in: 4.5, 4.0, 3.5