interface OnFailureProperty
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.Lambda.CfnEventSourceMapping.OnFailureProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awslambda#CfnEventSourceMapping_OnFailureProperty |
Java | software.amazon.awscdk.services.lambda.CfnEventSourceMapping.OnFailureProperty |
Python | aws_cdk.aws_lambda.CfnEventSourceMapping.OnFailureProperty |
TypeScript | aws-cdk-lib » aws_lambda » CfnEventSourceMapping » OnFailureProperty |
A destination for events that failed processing.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_lambda as lambda } from 'aws-cdk-lib';
const onFailureProperty: lambda.CfnEventSourceMapping.OnFailureProperty = {
destination: 'destination',
};
Properties
Name | Type | Description |
---|---|---|
destination? | string | The Amazon Resource Name (ARN) of the destination resource. |
destination?
Type:
string
(optional)
The Amazon Resource Name (ARN) of the destination resource.
To retain records of asynchronous invocations , you can configure an Amazon SNS topic, Amazon SQS queue, Lambda function, or Amazon EventBridge event bus as the destination.
To retain records of failed invocations from Kinesis and DynamoDB event sources , you can configure an Amazon SNS topic or Amazon SQS queue as the destination.
To retain records of failed invocations from self-managed Kafka or Amazon MSK , you can configure an Amazon SNS topic, Amazon SQS queue, or Amazon S3 bucket as the destination.