aws-cdk-lib.aws_lambda.CfnEventSourceMapping.DestinationConfigProperty

interface DestinationConfigProperty

LanguageType name
.NETAmazon.CDK.AWS.Lambda.CfnEventSourceMapping.DestinationConfigProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awslambda#CfnEventSourceMapping_DestinationConfigProperty
Javasoftware.amazon.awscdk.services.lambda.CfnEventSourceMapping.DestinationConfigProperty
Pythonaws_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.

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

NameTypeDescription
onFailure?IResolvable | OnFailurePropertyThe destination configuration for failed invocations.

onFailure?

Type: IResolvable | OnFailureProperty (optional)

The destination configuration for failed invocations.