DestinationOptions

class aws_cdk.aws_lambda.DestinationOptions(*, type)

Bases: object

Options when binding a destination to a function.

Parameters:

type (DestinationType) – The destination type.

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
import aws_cdk.aws_lambda as lambda_

destination_options = lambda.DestinationOptions(
    type=lambda_.DestinationType.FAILURE
)

Attributes

type

The destination type.