Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DLQ for EventBridge Schedules #12358

Open
1 task done
mzl-md opened this issue Feb 16, 2024 · 0 comments · May be fixed by #12363
Open
1 task done

DLQ for EventBridge Schedules #12358

mzl-md opened this issue Feb 16, 2024 · 0 comments · May be fixed by #12363

Comments

@mzl-md
Copy link

mzl-md commented Feb 16, 2024

Is there an existing issue for this?

  • I have searched existing issues, it hasn't been reported yet

Use case description

AWS Schedules can have a dead letter queue configured, see AWS::Scheduler::Schedule DeadLetterConfig. Serverless should support this for schedule events with method scheduler.

This is related to #8379.

Proposed solution (optional)

See #12363. The property is called like the one in sns events redrivePolicy. We could make it an object deadLetterConfig with property arn or targetArn since it is an object in CloudFormation, which implies there could be more properties in the future.

functions:
  myFunction:
    handler: src/myFunction.handler
    events:
      - schedule:
          rate: cron(0 13 6 * ? *)
          method: scheduler
          name: my-schedule
          deadLetterTargetArn: !GetAtt MyDLQ.Arn
@mzl-md mzl-md linked a pull request Feb 20, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant