interface DestinationConfigProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.Lambda.CfnEventInvokeConfig.DestinationConfigProperty |
Java | software.amazon.awscdk.services.lambda.CfnEventInvokeConfig.DestinationConfigProperty |
Python | aws_cdk.aws_lambda.CfnEventInvokeConfig.DestinationConfigProperty |
TypeScript | @aws-cdk/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 * as lambda from '@aws-cdk/aws-lambda';
const destinationConfigProperty: lambda.CfnEventInvokeConfig.DestinationConfigProperty = {
onFailure: {
destination: 'destination',
},
onSuccess: {
destination: 'destination',
},
};
Properties
| Name | Type | Description |
|---|---|---|
| on | IResolvable | On | The destination configuration for failed invocations. |
| on | IResolvable | On | The destination configuration for successful invocations. |
onFailure?
Type:
IResolvable | On
(optional)
The destination configuration for failed invocations.
onSuccess?
Type:
IResolvable | On
(optional)
The destination configuration for successful invocations.

.NET
Java
Python
TypeScript