SnsDlq

class aws_cdk.aws_lambda_event_sources.SnsDlq(topic)

Bases: object

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

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_lambda_event_sources as lambda_event_sources
from aws_cdk import aws_sns as sns

# topic: sns.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