interface RetryPolicyProperty
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.Events.CfnRule.RetryPolicyProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsevents#CfnRule_RetryPolicyProperty |
Java | software.amazon.awscdk.services.events.CfnRule.RetryPolicyProperty |
Python | aws_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
Name | Type | Description |
---|---|---|
maximum | number | The maximum amount of time, in seconds, to continue to make retry attempts. |
maximum | number | The 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.