Loading...
Loading...
Compare original and translation side by side
scripts/cost_query.pyundefinedscripts/cost_query.pyundefinedundefinedundefined| Option | Short | Description |
|---|---|---|
| | Query N days ago (default: 2, i.e., day before yesterday) |
| Query specific date (YYYY-MM-DD format) | |
| | Minimum cost threshold to display (default: 0) |
| | Query usage type breakdown for a specific service |
| Show all services with usage type breakdown | |
| | Output in JSON format |
| 选项 | 简写 | 描述 |
|---|---|---|
| | 查询N天前的成本(默认:2,即前天) |
| 查询特定日期的成本(格式为YYYY-MM-DD) | |
| | 显示结果的最低成本阈值(默认:0) |
| | 查询特定服务的使用类型细分 |
| 显示所有服务的使用类型详情 | |
| | 以JSON格式输出 |
--service| Common Name | AWS Service Name |
|---|---|
| OpenSearch | |
| DocumentDB/MongoDB | |
| EC2 Compute | |
| EC2 Other (EBS, NAT) | |
| EFS | |
| S3 | |
| RDS | |
| EKS | |
| VPC | |
| Bedrock | |
| Lambda | |
| CloudWatch | |
--service| 常用名称 | AWS服务名称 |
|---|---|
| OpenSearch | |
| DocumentDB/MongoDB | |
| EC2计算 | |
| EC2其他(EBS、NAT) | |
| EFS | |
| S3 | |
| RDS | |
| EKS | |
| VPC | |
| Bedrock | |
| Lambda | |
| CloudWatch | |
| Pattern | Meaning |
|---|---|
| EC2 instance hours (e.g., |
| OpenSearch instance hours |
| EBS storage (e.g., |
| S3/EFS storage capacity |
| Data transfer costs |
| NAT Gateway costs |
| VPC Endpoint costs |
| Bedrock token usage |
| DocumentDB Elastic costs |
| 模式 | 含义 |
|---|---|
| EC2实例时长(如 |
| OpenSearch实例时长 |
| EBS存储(如 |
| S3/EFS存储容量 |
| 数据传输成本 |
| NAT网关成本 |
| VPC终端节点成本 |
| Bedrock令牌使用量 |
| DocumentDB Elastic成本 |
ce:GetCostAndUsagece:GetCostAndUsagepython3 <skill-path>/scripts/cost_query.py --min-cost 5python3 <skill-path>/scripts/cost_query.py --service "Amazon OpenSearch Service" --min-cost 1python3 <skill-path>/scripts/cost_query.py --detailed --min-cost 5python3 <skill-path>/scripts/cost_query.py --min-cost 5python3 <skill-path>/scripts/cost_query.py --service "Amazon OpenSearch Service" --min-cost 1python3 <skill-path>/scripts/cost_query.py --detailed --min-cost 5