SnsDlq

class aws_cdk.aws_lambda_event_sources.SnsDlq(topic)

Bases: object

An SNS dead letter queue destination configuration for a Lambda event source.

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_event_sources as lambda_event_sources
import aws_cdk.aws_sns as sns

# topic is of type Topic

sns_dlq = lambda_event_sources.SnsDlq(topic)
Parameters

topic (ITopic) –

Methods

bind(_target, target_handler)

Returns a destination configuration for the DLQ.

Parameters
Return type

DlqDestinationConfig