get_resource_cost_breakdown_aws
Retrieve per-resource AWS cost breakdown from Cost and Usage Report via Athena, including unblended costs, on-demand equivalents, and savings from Savings Plans or Reserved Instances.
Instructions
Return per-resource AWS cost detail from the Cost and Usage Report (CUR) via Athena. Includes unblended cost, on-demand equivalent, and effective savings from Savings Plans or Reserved Instances.
Requires CUR delivery to S3 and an Athena database. Team plan feature.
Args: start_date: ISO date (YYYY-MM-DD). Defaults to 30 days ago. end_date: ISO date. Defaults to today. service: AWS service code filter (e.g. "Amazon EC2"). None = all services. account_id: 12-digit AWS account ID filter. None = all accounts. min_cost_usd: Exclude resources below this cost threshold (default $1). limit: Maximum resources to return ordered by cost descending (default 100).
Examples: - "Show me per-resource EC2 costs from CUR" - "Which S3 buckets are costing the most this month?" - "Break down costs by resource for account 123456789012"
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| service | No | ||
| end_date | No | ||
| account_id | No | ||
| start_date | No | ||
| min_cost_usd | No |