[英]Trigger Lambda function when S3 buckets get created
I want to create a Lambda function using Java or Python so that whenever a new S3 bucket gets created, by default it enables default encryption of AES256 and server-access logs on those buckets, if they were not enabled while creating the bucket.
您可以在此处使用 Cloudwatch 事件。
现在使用 Java 编写您的 lambda 并使用 SDK 进行所需的任何更改。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.