aws-cdk-lib.aws_scheduler.CfnSchedule.RetryPolicyProperty

interface RetryPolicyProperty

LanguageType name
.NETAmazon.CDK.AWS.Scheduler.CfnSchedule.RetryPolicyProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsscheduler#CfnSchedule_RetryPolicyProperty
Javasoftware.amazon.awscdk.services.scheduler.CfnSchedule.RetryPolicyProperty
Pythonaws_cdk.aws_scheduler.CfnSchedule.RetryPolicyProperty
TypeScript aws-cdk-lib » aws_scheduler » CfnSchedule » RetryPolicyProperty

A RetryPolicy object that includes information about the retry policy settings, including the maximum age of an event, and the maximum number of times EventBridge Scheduler will try to deliver the event to a target.

Example

// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_scheduler as scheduler } from 'aws-cdk-lib';
const retryPolicyProperty: scheduler.CfnSchedule.RetryPolicyProperty = {
  maximumEventAgeInSeconds: 123,
  maximumRetryAttempts: 123,
};

Properties

NameTypeDescription
maximumEventAgeInSeconds?numberThe maximum amount of time, in seconds, to continue to make retry attempts.
maximumRetryAttempts?numberThe maximum number of retry attempts to make before the request fails.

maximumEventAgeInSeconds?

Type: number (optional)

The maximum amount of time, in seconds, to continue to make retry attempts.


maximumRetryAttempts?

Type: number (optional)

The maximum number of retry attempts to make before the request fails.

Retry attempts with exponential backoff continue until either the maximum number of attempts is made or until the duration of the MaximumEventAgeInSeconds is reached.