aws-event-bridge

How do I create a custom Event Bus in AWS Event Bridge?

烈酒焚心 提交于 2021-02-08 05:44:23
问题 I can't find the documentation or an example Terraform module online. How do I create a custom Event Bus in AWS Event Bridge? 回答1: As of this writing, creating an EventBridge Event Bus isn't supported by the Terraform Provider for AWS yet. We had to use the default Event Bus or create it with the AWS CLI or Console. Caveats: EventBridge has a couple of serious IAM gaps right now: you can't restrict what buses an IAM principal can publish events too and it uses a Service principal instead of a

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