View a markdown version of this page

Actions, resources, and condition keys for AWS CloudTrail Data - Service Authorization Reference

Actions, resources, and condition keys for AWS CloudTrail Data

AWS CloudTrail Data (service prefix: cloudtrail-data) provides the following service-specific operations, resources, actions, and condition keys for use in IAM permission policies.

References:

API operations defined by AWS CloudTrail Data

The following table maps API operations to the IAM actions they authorize. Only condition keys that have static values for the given API and action are listed; for the full set of condition keys supported by each action, see the Actions table.

Operation IAM action Condition key Possible value(s) Access level

PutAuditEvents

cloudtrail-data:PutAuditEvents

Write

Actions defined by AWS CloudTrail Data

You can specify the following actions in the Action element of an IAM policy statement. Use policies to grant permissions to perform an operation in AWS. When you use an action in a policy, you usually allow or deny access to the API operation or CLI command with the same name. However, in some cases, a single action controls access to more than one operation. Alternatively, some operations require several different actions.

Actions Description Resource types (*required) Condition keys Access level

PutAuditEvents

Grants permission to ingest your application events into CloudTrail Lake

channel*

aws:ResourceTag/${TagKey}

Write

Resource types defined by AWS CloudTrail Data

The following resource types are defined by this service and can be used in the Resource element of IAM permission policy statements.

Resource types ARN Condition keys

channel

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

aws:ResourceTag/${TagKey}

Condition keys for AWS CloudTrail Data

AWS CloudTrail Data defines the following condition keys that can be used in the Condition element of an IAM policy.

Condition keys Description Type

aws:RequestTag/${TagKey}

Filters access by a tag's key and value in a request

String

aws:ResourceTag/${TagKey}

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

String

aws:TagKeys

Filters access by the tag keys in a request

ArrayOfString