S3 object level events are not getting triggered

偶尔善良 提交于 2021-01-29 05:11:36

问题


I have created an event rule in aws events bridge with event pattern:

{
  "source": [
    "aws.s3"
  ]
}

Target is a CloudWatch log group. Now when I change something on bucket level e.g. bucket permissions then I see an event captured in cloud watch but when I add add/delete a file in s3 bucket then nothing happens. What is wrong here ?


回答1:


To log object-level events you have to enable logging data events for S3 in CloudTrial's trail. If you don't have a trial already, you have to create one making sure that you enable data event logging for s3.



来源:https://stackoverflow.com/questions/65302158/s3-object-level-events-are-not-getting-triggered

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!