Logging All S3 Object Events By Using Basic Event Selectors

From wikieduonline
Revision as of 15:40, 24 September 2024 by Welcome (talk | contribs) (Created page with " <pre> resource "aws_cloudtrail" "example" { # ... other configuration ... event_selector { read_write_type = "All" include_management_events = true...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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"]
    }
  }
}


Terraform Cloudtrail: aws_cloudtrail, module

Advertising: