interface DestinationConfigProperty
| Language | Type name | 
|---|---|
|  .NET | Amazon.CDK.AWS.Lambda.CfnEventSourceMapping.DestinationConfigProperty | 
|  Go | github.com/aws/aws-cdk-go/awscdk/v2/awslambda#CfnEventSourceMapping_DestinationConfigProperty | 
|  Java | software.amazon.awscdk.services.lambda.CfnEventSourceMapping.DestinationConfigProperty | 
|  Python | aws_cdk.aws_lambda.CfnEventSourceMapping.DestinationConfigProperty | 
|  TypeScript | aws-cdk-lib»aws_lambda»CfnEventSourceMapping»DestinationConfigProperty | 
A configuration object that specifies the destination of an event after Lambda processes it.
For more information, see Adding a destination .
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 destinationConfigProperty: lambda.CfnEventSourceMapping.DestinationConfigProperty = {
  onFailure: {
    destination: 'destination',
  },
};
Properties
| Name | Type | Description | 
|---|---|---|
| on | IResolvable | On | The destination configuration for failed invocations. | 
onFailure?
Type:
IResolvable | On
(optional)
The destination configuration for failed invocations.
