Skip to content

Latest commit

 

History

History
66 lines (34 loc) · 2.38 KB

API.md

File metadata and controls

66 lines (34 loc) · 2.38 KB

API Reference

Classes

Name Description
SqsRedrive A construct that encompasses a Lambda Function that will move all messages from a source queue (dlq) to a destination queue (main).

Structs

Name Description
SqsRedriveProps Props for the SqsRedrive construct creation.

class SqsRedrive

A construct that encompasses a Lambda Function that will move all messages from a source queue (dlq) to a destination queue (main).

Implements: IConstruct, IDependable Extends: Construct

Initializer

new SqsRedrive(scope: Construct, id: string, props: SqsRedriveProps)

Properties

Name Type Description
redriveFunction aws_lambda.IFunction The Lambda Function that will move messages from the DLQ to the main queue.

struct SqsRedriveProps

Props for the SqsRedrive construct creation.

Name Type Description
deadLetterQueue aws_sqs.IQueue The SQS Queue that holds dead-letters.
mainQueue aws_sqs.IQueue The SQS Queue that will re-process the DLQ messages.
lambdaProps? aws_lambda.FunctionOptions Props to hand to the underlying Lambda Function that does all the heavy lifting.
Optional