using System.Collections.Generic; namespace Amazon.Lambda.CloudWatchEvents.BatchEvents { /// /// The retry strategy associated with a job. /// https://docs.aws.amazon.com/batch/latest/APIReference/API_RetryStrategy.html /// public class RetryStrategy { /// /// The number of times to move a job to the RUNNABLE status. You may specify between 1 and 10 attempts. /// If the value of attempts is greater than one, the job is retried if it fails until it has moved to /// RUNNABLE that many times. /// public int Attempts { get; set; } /// /// Array of up to 5 objects that specify conditions under which the job should be retried or failed. /// If this parameter is specified, then the attempts parameter must also be specified. /// public List EvaluateOnExit { get; set; } } }