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.101.0 (build b95fe5d)", date="2024-07-12T19:34:04.320Z") @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

    Constructors
    Modifier
    Constructor
    Description
     
    SnsDlq(ITopic topic)
     
    protected
    SnsDlq(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
     
    protected
    SnsDlq(software.amazon.jsii.JsiiObjectRef objRef)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    bind(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

      @Stability(Stable) public SnsDlq(@NotNull ITopic topic)
      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 interface IEventSourceDlq
      Parameters:
      _target - This parameter is required.
      targetHandler - This parameter is required.