aws-cdk-lib.aws_events.CfnRule.BatchRetryStrategyProperty

interface BatchRetryStrategyProperty

LanguageType name
.NETAmazon.CDK.AWS.Events.CfnRule.BatchRetryStrategyProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsevents#CfnRule_BatchRetryStrategyProperty
Javasoftware.amazon.awscdk.services.events.CfnRule.BatchRetryStrategyProperty
Pythonaws_cdk.aws_events.CfnRule.BatchRetryStrategyProperty
TypeScript aws-cdk-lib » aws_events » CfnRule » BatchRetryStrategyProperty

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

If you specify a retry strategy here, it overrides the retry strategy defined in the job definition.

Example

// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_events as events } from 'aws-cdk-lib';
const batchRetryStrategyProperty: events.CfnRule.BatchRetryStrategyProperty = {
  attempts: 123,
};

Properties

NameTypeDescription
attempts?numberThe number of times to attempt to retry, if the job fails.

attempts?

Type: number (optional)

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

Valid values are 1–10.