interface DestinationOptions
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.Lambda.DestinationOptions |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awslambda#DestinationOptions |
Java | software.amazon.awscdk.services.lambda.DestinationOptions |
Python | aws_cdk.aws_lambda.DestinationOptions |
TypeScript (source) | aws-cdk-lib » aws_lambda » DestinationOptions |
Options when binding a destination to a function.
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 destinationOptions: lambda.DestinationOptions = {
type: lambda.DestinationType.FAILURE,
};
Properties
Name | Type | Description |
---|---|---|
type | Destination | The destination type. |
type
Type:
Destination
The destination type.