[英]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.