n1234
n1234

Reputation: 175

AWS Scheduling Mechanism?

I want to delay an email being sent for X days. This could be days, weeks, or months.

Is there anything out there other than Step Functions?

Some concerns I had with Step Functions, which could be debunked:

Upvotes: 0

Views: 179

Answers (2)

massiAng
massiAng

Reputation: 11

Check this solution out. It should be what you need. It is a combination of Step Function and the DB solutions mentioned above which addresses the issues being raised (max wait time and inefficient scanning).

https://github.com/aws-samples/step-functions-workflows-collection/tree/main/smart-cron-job/

Upvotes: 0

dossani
dossani

Reputation: 1948

You can define an event rule in either Cloudwatch or EventBridge that triggers on a schedule (fixed or based on cron expression). The event target can be either SNS Topic or a Lambda function to send the email.

Please refer here for more details

Upvotes: 1

Related Questions