2

How do I run a lambda upon new bucket creation? I looked at supported S3 event types but couldn't find one for BucketCreated or equivalent.

Can CloudWatch help in this case?

1

You can combine CloudTrail with CloudWatch to create an Event when a new S3 bucket is created. This example describes exactly that: CloudWatch Event Examples (down the bottom under Events for Services Not Listed).

Hope that helps :)

  • Thanks. I'll give this a spin shortly and confirm. – PerennialN00b Jan 23 at 21:58

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.