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?

2

1 Answer 1

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 :)

1
  • Thanks. I'll give this a spin shortly and confirm. Commented Jan 23, 2019 at 21:58

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.