Logging All Lambda Function Invocations By Using Basic Event Selectors

From wikieduonline
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"]
    }
  }
}


AWSServiceRoleForCloudTrail

See also[edit]

Advertising: