Go to Billing and Cost Management → Data Exports in your payer account. Select your existing CUR 2.0 export and click Edit (or create a new one if you do not have CUR 2.0 yet).
Under “Data table content”, check the option: Include caller identity (IAM principal) allocation data
Save the export. The updated export will begin landing in S3 within 24 hours. Once the first file lands, manually trigger the Glue crawler to pick up the new column.
This adds line_item_iam_principal to every CUR row where a Bedrock call was made by an assumed IAM role — the attribution anchor for all AI workload allocation.
SELECT line_item_iam_principal,
COUNT(*) AS invocations,
SUM(line_item_unblended_cost) AS total_cost
FROM your_cur_table
WHERE line_item_product_code = 'AmazonBedrock'
AND line_item_iam_principal IS NOT NULL
GROUP BY line_item_iam_principal
LIMIT 20;