Logging All S3 Object Events By Using Basic Event Selectors

From wikieduonline
Revision as of 15:40, 24 September 2024 by Welcome (talk | contribs)
Jump to navigation Jump to search
resource "aws_cloudtrail" "example" {
  # ... other configuration ...

  event_selector {
    read_write_type           = "All"
    include_management_events = true

    data_resource {
      type   = "AWS::S3::Object"
      values = ["arn:aws:s3"]
    }
  }
}


aws cloudtrail [ get-event-selectors | lookup-events | list-trails | create-trail | add-tags | delete-trail | describe-trails | get-trail-status | put-event-selectors | put-insight-selectors | remove-tags | start-logging | stop-logging | update-trail | validate-logs | create-event-data-store | list-public-keys | list-tags ], Terraform, enable-federation, AWS CloudTrail, Events, AWS CloudTrail Lake Terraform Cloudtrail: aws_cloudtrail, module

Advertising: