cloudtrail-data:PutAuditEvents

Write

cloudtrail-data:PutAuditEvents is a Write access-level action in the cloudtrail-data service. Grants permission to ingest your application events into CloudTrail Lake

Resource types

ARNs that cloudtrail-data:PutAuditEvents can be scoped to in an IAM policy.

arn:${Partition}:cloudtrail:${Region}:${Account}:channel/${ChannelId}
channel

Condition keys

Keys you can use in the Condition block of a policy that grants cloudtrail-data:PutAuditEvents.

aws:ResourceTag/${TagKey} String

Filters actions based on the presence of tag key-value pairs in the request

Example IAM policy

A minimal policy that allows cloudtrail-data:PutAuditEvents. Replace "Resource": "*" with a specific ARN to follow least privilege.

{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Sid": "AllowCloudtraildataPutAuditEvents",
      "Effect": "Allow",
      "Action": "cloudtrail-data:PutAuditEvents",
      "Resource": "*"
    }
  ]
}