aws-cdk-lib.aws_lambda.CfnEventInvokeConfig.DestinationConfigProperty

interface DestinationConfigProperty

LanguageType name
.NETAmazon.CDK.AWS.Lambda.CfnEventInvokeConfig.DestinationConfigProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awslambda#CfnEventInvokeConfig_DestinationConfigProperty
Javasoftware.amazon.awscdk.services.lambda.CfnEventInvokeConfig.DestinationConfigProperty
Pythonaws_cdk.aws_lambda.CfnEventInvokeConfig.DestinationConfigProperty
TypeScript aws-cdk-lib » aws_lambda » CfnEventInvokeConfig » 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.CfnEventInvokeConfig.DestinationConfigProperty = {
  onFailure: {
    destination: 'destination',
  },
  onSuccess: {
    destination: 'destination',
  },
};

Properties

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

onFailure?

Type: IResolvable | OnFailureProperty (optional)

The destination configuration for failed invocations.


onSuccess?

Type: IResolvable | OnSuccessProperty (optional)

The destination configuration for successful invocations.