aws-cdk-lib.aws_events.CfnRule.RetryPolicyProperty

interface RetryPolicyProperty

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

A RetryPolicy object that includes information about the retry policy settings.

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 retryPolicyProperty: events.CfnRule.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 continue until either the maximum number of attempts is made or until the duration of the MaximumEventAgeInSeconds is met.