aws-cdk-lib.aws_lambda.DestinationOptions

interface DestinationOptions

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

NameTypeDescription
typeDestinationTypeThe destination type.

type

Type: DestinationType

The destination type.