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