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. |
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
new SqsRedrive(scope: Construct, id: string, props: SqsRedriveProps)
- scope (
Construct
) No description - id (
string
) No description - props (
SqsRedriveProps
) No 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
- deadLetterQueue (
Name | Type | Description |
---|---|---|
redriveFunction | aws_lambda.IFunction |
The Lambda Function that will move messages from the DLQ to the main queue. |
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 |