Class SnsDlq
An SNS dead letter queue destination configuration for a Lambda event source.
Inheritance
System.Object
SnsDlq
Implements
Namespace: Amazon.CDK.AWS.Lambda.EventSources
Assembly: Amazon.CDK.AWS.Lambda.EventSources.dll
Syntax (csharp)
public class SnsDlq : DeputyBase, IEventSourceDlq
Syntax (vb)
Public Class SnsDlq
Inherits DeputyBase
Implements IEventSourceDlq
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Lambda.EventSources;
using Amazon.CDK.AWS.SNS;
Topic topic;
var snsDlq = new SnsDlq(topic);
Synopsis
Constructors
SnsDlq(ITopic) | |
SnsDlq(ByRefValue) | Used by jsii to construct an instance of this class from a Javascript-owned object reference |
SnsDlq(DeputyBase.DeputyProps) | Used by jsii to construct an instance of this class from DeputyProps |
Methods
Bind(IEventSourceMapping, IFunction) | Returns a destination configuration for the DLQ. |
Constructors
SnsDlq(ITopic)
SnsDlq(ByRefValue)
Used by jsii to construct an instance of this class from a Javascript-owned object reference
protected SnsDlq(ByRefValue reference)
Parameters
- reference Amazon.JSII.Runtime.Deputy.ByRefValue
The Javascript-owned object reference
SnsDlq(DeputyBase.DeputyProps)
Used by jsii to construct an instance of this class from DeputyProps
protected SnsDlq(DeputyBase.DeputyProps props)
Parameters
- props Amazon.JSII.Runtime.Deputy.DeputyBase.DeputyProps
The deputy props
Methods
Bind(IEventSourceMapping, IFunction)
Returns a destination configuration for the DLQ.
public virtual IDlqDestinationConfig Bind(IEventSourceMapping target, IFunction targetHandler)
Parameters
- target IEventSourceMapping
- targetHandler IFunction
Returns