Re:S3 trickery: using it as a scheduler
by scarface74 on Friday September 14, 2018 @09:06AM
(#17986897)
How much more obvious could it be? It’s in the Cloudwatch cron rules that the last parameter specifies the year.
Can you attach data to the event ?
Re:S3 trickery: using it as a scheduler
by scarface74 on Friday September 14, 2018 @09:51AM
(#17987147)
Yes.
https://docs.aws.amazon.com/cli/latest/reference/events/put-...
The data you attach will be included in the SNS message or the data that gets sent to the lambda handler.
You can put static JSON as an event from either the AWS Console, the CLI, or CloudFormation.
And as with everything overly flexible, people will abuse it and build over-engineered solutions on top of it, when simpler solution is already present, but possibly not obvious or poorly documented.