HSchmale
HSchmale

Reputation: 1929

Aws eventbridge cron. Only after the nth day of the month run on weekdays

I have a billing report for aws email I send out on weekdays for anomalous overages forecasts. There's nothing useful in the couple days of the month. So I don't want to run my lambda function at all on those months. It's triggered by eventbridge.

How can I create a rule that honors this requirement?

I've tried using both day of month and day of week filters. Apparently incompatible. I've tried specifying every single day of the month with W wildcard, but that ran into length limits. It doesn't seem like a difficult requirement.

Upvotes: 0

Views: 320

Answers (1)

Michael Gasch
Michael Gasch

Reputation: 501

Are you using scheduled Rules or EventBridge scheduler? Am I understanding correctly that you want to trigger your logic basically Mo-Fr? Can you express your logic using this cron editor and paste here for clarity?

https://crontab.guru/

Upvotes: 0

Related Questions