4

Is there another AWS service that would allow me to publish a Topic to SNS at in an arbitrary date in the future?

I've looked into using Cloudwatch Events but that seems to be more for recurring events while I need one-time events.

  • Have a recurring event that checks something (database, config file, etc.) to see if it's the right time for one of your one-time events to be processed. – ceejayoz Jun 8 '17 at 19:03
  • I was hoping to not have to poll my database. If I could trigger an event the happen at a specific time that would take a lot of work off my servers. – jwerre Jun 8 '17 at 19:31
2

Lambda scheduled events, You can create a lambda function that will publish to an SNS topic.

You can create a Lambda function and direct AWS Lambda to execute it on a regular schedule. You can specify a fixed rate (for example, execute a Lambda function every hour or 15 minutes), or you can specify a Cron expression. For more information on expressions schedules, see Schedule Expressions Using Rate or Cron.

  • I am aware of this but, again, this would more of a recurring cron-type schedule. What I need are more flexible one-time events that I can deploy the cloud and are triggered at a specific time defined by the event. – jwerre Jun 8 '17 at 23:05
  • Could you be more specific when you say a one time event? How this event generated? – strongjz Jun 8 '17 at 23:08
  • I guess you could use this method to publish event at least one month out – jdog Nov 9 '17 at 6:51
  • @jwerre actually Cron expressions include years – jdog Nov 9 '17 at 6:52

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.