xray:BatchGetTraces is a List access-level action in the xray service. Grants permission to retrieve a list of traces specified by ID. Each trace is a collection of segment documents that originates from a single request. Use GetTraceSummaries to get a list of trace IDs
This action does not support resource-level permissions; use "Resource": "*" in your policy.
No condition keys are documented for this action.
A minimal policy that allows xray:BatchGetTraces. Replace "Resource": "*" with a specific ARN to follow least privilege.
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "AllowXrayBatchGetTraces",
"Effect": "Allow",
"Action": "xray:BatchGetTraces",
"Resource": "*"
}
]
}