RetryPolicyProperty Struct
A RetryPolicy object that includes information about the retry policy settings.
Example
ts
// 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
maximumEventAgeInSecondsoptionalnumbermaximum_event_age_in_secondsoptionalint | floatmaximumEventAgeInSecondsoptionalNumberMaximumEventAgeInSecondsoptionaldoubleMaximumEventAgeInSecondsoptional*float64#The maximum amount of time, in seconds, to continue to make retry attempts.
maximumRetryAttemptsoptionalnumbermaximum_retry_attemptsoptionalint | floatmaximumRetryAttemptsoptionalNumberMaximumRetryAttemptsoptionaldoubleMaximumRetryAttemptsoptional*float64#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.