interface DestinationConfigProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.Lambda.Mixins.CfnEventInvokeConfigPropsMixin.DestinationConfigProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awslambda/mixins#CfnEventInvokeConfigPropsMixin_DestinationConfigProperty |
Java | software.amazon.awscdk.mixins.preview.services.lambda.mixins.CfnEventInvokeConfigPropsMixin.DestinationConfigProperty |
Python | aws_cdk.mixins_preview.aws_lambda.mixins.CfnEventInvokeConfigPropsMixin.DestinationConfigProperty |
TypeScript | @aws-cdk/mixins-preview » aws_lambda » mixins » CfnEventInvokeConfigPropsMixin » 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 { mixins as lambda_mixins } from '@aws-cdk/mixins-preview/aws-lambda';
const destinationConfigProperty: lambda_mixins.CfnEventInvokeConfigPropsMixin.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.
When using an Amazon SQS queue as a destination, FIFO queues cannot be used.
onSuccess?
Type:
IResolvable | On
(optional)
The destination configuration for successful invocations.
When using an Amazon SQS queue as a destination, FIFO queues cannot be used.

.NET
Go
Java
Python
TypeScript