get_cost_by_region
Analyze AWS spending patterns by region to identify cost optimization opportunities and allocate budgets effectively.
Instructions
Get cost breakdown by AWS region for the specified period.
Args:
start_date: Start date in YYYY-MM-DD format (default: first day of last month)
end_date: End date in YYYY-MM-DD format (default: first day of current month)
profile_name: AWS profile name (optional)
role_arn: IAM role ARN to assume (optional)
access_key: AWS access key ID (optional)
secret_access_key: AWS secret access key (optional)
session_token: AWS session token for temporary credentials (optional)
Returns:
Dictionary with cost breakdown by region
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| start_date | No | ||
| end_date | No | ||
| profile_name | No | ||
| role_arn | No | ||
| access_key | No | ||
| secret_access_key | No | ||
| session_token | No |