interface RetryPolicyProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.CfnPropertyMixins.AWS.EventsV2.CfnSubscriberPropsMixin.RetryPolicyProperty |
Go | github.com/aws/aws-cdk-go/awscdkcfnpropertymixins/v2/awseventsv2#CfnSubscriberPropsMixin_RetryPolicyProperty |
Java | software.amazon.awscdk.cfnpropertymixins.services.eventsv2.CfnSubscriberPropsMixin.RetryPolicyProperty |
Python | aws_cdk.cfn_property_mixins.aws_eventsv2.CfnSubscriberPropsMixin.RetryPolicyProperty |
TypeScript | @aws-cdk/cfn-property-mixins » aws_eventsv2 » CfnSubscriberPropsMixin » RetryPolicyProperty |
The retry policy for failed deliveries.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_eventsv2 as eventsv2 } from '@aws-cdk/cfn-property-mixins';
const retryPolicyProperty: eventsv2.CfnSubscriberPropsMixin.RetryPolicyProperty = {
maxEventAgeInSeconds: 123,
maxRetryAttempts: 123,
retryStrategy: 'retryStrategy',
};
Properties
| Name | Type | Description |
|---|---|---|
| max | number | The maximum age of an event in seconds, 60-86400 (24 hours). |
| max | number | The maximum number of retry attempts, 0-185. |
| retry | string | Which errors are retried. |
maxEventAgeInSeconds?
Type:
number
(optional)
The maximum age of an event in seconds, 60-86400 (24 hours).
When an event reaches this age, retries stop; if OnFailureConfiguration is set, the event is delivered to that destination, otherwise it is dropped. The default is 300.
maxRetryAttempts?
Type:
number
(optional)
The maximum number of retry attempts, 0-185.
When the attempts are exhausted, retries stop; if OnFailureConfiguration is set, the event is delivered to that destination, otherwise it is dropped. The default is 5.
retryStrategy?
Type:
string
(optional)
Which errors are retried.
ALL retries all errors. The default is ALL.

.NET
Go
Java
Python
TypeScript