Logging All Lambda Function Invocations By Using Basic Event Selectors

From wikieduonline
Revision as of 12:01, 23 September 2024 by Welcome (talk | contribs) (Created page with " 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::Lambda::Function"
      values = ["arn:aws:lambda"]
    }
  }
}

Advertising: