Class CfnEventInvokeConfig.OnFailureProperty
A destination for events that failed processing.
Inheritance
System.Object
CfnEventInvokeConfig.OnFailureProperty
Implements
Namespace: Amazon.CDK.AWS.Lambda
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class OnFailureProperty : Object, CfnEventInvokeConfig.IOnFailureProperty
Syntax (vb)
Public Class OnFailureProperty
Inherits Object
Implements CfnEventInvokeConfig.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
Constructors
OnFailureProperty() |
Properties
Destination | The Amazon Resource Name (ARN) of the destination resource. |
Constructors
OnFailureProperty()
public OnFailureProperty()
Properties
Destination
The Amazon Resource Name (ARN) of the destination resource.
public string Destination { get; set; }
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.