Class SnsDlq
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.lambda.eventsources.SnsDlq
- All Implemented Interfaces:
IEventSourceDlq
,software.amazon.jsii.JsiiSerializable
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
date="2023-06-19T16:30:46.841Z")
@Stability(Stable)
public class SnsDlq
extends software.amazon.jsii.JsiiObject
implements IEventSourceDlq
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 software.amazon.awscdk.services.lambda.eventsources.*; import software.amazon.awscdk.services.sns.*; Topic topic; SnsDlq snsDlq = new SnsDlq(topic);
-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
Nested classes/interfaces inherited from interface software.amazon.awscdk.services.lambda.IEventSourceDlq
IEventSourceDlq.Jsii$Default, IEventSourceDlq.Jsii$Proxy
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbind
(IEventSourceMapping _target, IFunction targetHandler) Returns a destination configuration for the DLQ.Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Constructor Details
-
SnsDlq
protected SnsDlq(software.amazon.jsii.JsiiObjectRef objRef) -
SnsDlq
protected SnsDlq(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
SnsDlq
- Parameters:
topic
- This parameter is required.
-
-
Method Details
-
bind
@Stability(Stable) @NotNull public DlqDestinationConfig bind(@NotNull IEventSourceMapping _target, @NotNull IFunction targetHandler) Returns a destination configuration for the DLQ.- Specified by:
bind
in interfaceIEventSourceDlq
- Parameters:
_target
- This parameter is required.targetHandler
- This parameter is required.
-