Interface CfnEventSourceMapping.IOnFailureProperty
A destination for events that failed processing.
Namespace: Amazon.CDK.AWS.Lambda
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface IOnFailureProperty
Syntax (vb)
Public Interface IOnFailureProperty
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Lambda;
var onFailureProperty = new OnFailureProperty {
Destination = "destination"
};
Synopsis
Properties
Destination | The Amazon Resource Name (ARN) of the destination resource. |
Properties
Destination
The Amazon Resource Name (ARN) of the destination resource.
virtual string Destination { get; }
Property Value
System.String
Remarks
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.