一键导入
aws-ce
Cost Explorer via AWS CLI v2 (`aws ce`). Cost and usage, forecasts, anomalies, savings plans, reservations, rightsizing.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Cost Explorer via AWS CLI v2 (`aws ce`). Cost and usage, forecasts, anomalies, savings plans, reservations, rightsizing.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
IAM Access Analyzer via AWS CLI v2 (`aws accessanalyzer`). Analyzers, findings, archive rules, access previews, policy tools.
Private CA via AWS CLI v2 (`aws acm-pca`). Certificate authorities, certificates, audit reports, permissions, policies.
ACM via AWS CLI v2 (`aws acm`). Certificates, import/export, validation, tags, account configuration.
Managed Prometheus via AWS CLI v2 (`aws amp`). Workspaces, alert manager, rule groups, scrapers, logging, resource policies.
Amplify via AWS CLI v2 (`aws amplify`). Apps, branches, domain associations, jobs, deployments, webhooks.
API Gateway via AWS CLI v2 (`aws apigateway`). REST APIs, HTTP APIs, resources, methods, stages, authorizers, API keys, usage plans.
| name | aws-ce |
| description | Cost Explorer via AWS CLI v2 (`aws ce`). Cost and usage, forecasts, anomalies, savings plans, reservations, rightsizing. |
Complete reference for all aws ce subcommands in AWS CLI v2. Covers cost and usage analysis, cost forecasting, anomaly detection, cost category management, reservation analysis, savings plans recommendations, rightsizing recommendations, commitment purchase analysis, and cost allocation tag management.
aws ce get-cost-and-usage \
--time-period Start=2025-01-01,End=2025-02-01 \
--granularity MONTHLY \
--metrics "UnblendedCost" \
--group-by Type=DIMENSION,Key=SERVICE
aws ce get-cost-forecast \
--time-period Start=2025-02-01,End=2025-05-01 \
--metric UNBLENDED_COST \
--granularity MONTHLY
aws ce get-anomalies \
--date-interval StartDate=2025-01-01,EndDate=2025-01-31 \
--total-impact NumericOperator=GREATER_THAN_OR_EQUAL,StartValue=100
aws ce create-anomaly-monitor \
--anomaly-monitor MonitorName=ServiceMonitor,MonitorType=DIMENSIONAL,MonitorDimension=SERVICE
aws ce get-rightsizing-recommendation \
--service AmazonEC2 \
--configuration RecommendationTarget=SAME_INSTANCE_FAMILY,BenefitsConsidered=true
aws ce list-cost-allocation-tags --status Active --type UserDefined
See index.md for the quick reference table and global options.
| Group | File | Commands |
|---|---|---|
| Cost & Usage | cost-usage.md | get-cost-and-usage, get-cost-and-usage-with-resources, get-cost-and-usage-comparisons, get-cost-comparison-drivers, get-cost-forecast, get-usage-forecast, get-dimension-values, get-tags, get-approximate-usage-records |
| Cost Categories | cost-categories.md | create-cost-category-definition, delete-cost-category-definition, describe-cost-category-definition, update-cost-category-definition, get-cost-categories, list-cost-category-definitions, list-cost-category-resource-associations |
| Anomalies | anomalies.md | create-anomaly-monitor, delete-anomaly-monitor, get-anomaly-monitors, update-anomaly-monitor, create-anomaly-subscription, delete-anomaly-subscription, get-anomaly-subscriptions, update-anomaly-subscription, get-anomalies, provide-anomaly-feedback |
| Reservations | reservations.md | get-reservation-coverage, get-reservation-purchase-recommendation, get-reservation-utilization |
| Savings Plans | savings-plans.md | get-savings-plans-coverage, get-savings-plans-purchase-recommendation, get-savings-plans-utilization, get-savings-plans-utilization-details, get-savings-plan-purchase-recommendation-details, list-savings-plans-purchase-recommendation-generation, start-savings-plans-purchase-recommendation-generation |
| Rightsizing | rightsizing.md | get-rightsizing-recommendation |
| Commitment Analysis | commitment-analysis.md | start-commitment-purchase-analysis, get-commitment-purchase-analysis, list-commitment-purchase-analyses |
| Cost Allocation Tags | cost-allocation-tags.md | list-cost-allocation-tags, update-cost-allocation-tags-status, list-cost-allocation-tag-backfill-history, start-cost-allocation-tag-backfill |
| Tags | tags.md | tag-resource, untag-resource, list-tags-for-resource |