aws-pricing
Query AWS service pricing information
TLDR
List all AWS services with pricing information
SYNOPSIS
aws pricing command [options]
DESCRIPTION
aws pricing is the AWS CLI interface for the AWS Price List API, providing programmatic access to AWS service pricing information. It allows querying prices using standardized product attributes like location, instance type, and storage class.
The API is useful for building cost estimation tools, budget forecasting, and cost optimization analysis. Prices are returned at the SKU level with both on-demand and reserved pricing options.
PARAMETERS
--service-code
AWS service identifier (e.g., AmazonEC2, AmazonS3)--filters
Filter products by attributes--region
Must be us-east-1 or ap-south-1 (API regional endpoints)--effective-date
Date for price list (prices change over time)
COMMANDS
describe-services
List AWS services and their pricing attributesget-attribute-values
Get valid values for a service attributeget-products
Query products and their pricinglist-price-lists
List available price list filesget-price-list-file-url
Get download URL for a price list file
CAVEATS
The Price List API is only available in us-east-1 and ap-south-1 regions. Price data can be large; use filters to narrow results. Prices are in USD by default; some services support other currencies. Bulk price list downloads are JSON files that can be several gigabytes.
HISTORY
The AWS Price List API launched in 2017 to provide programmatic access to pricing previously only available through the web console or bulk price list files. It enables automated cost analysis and integration with financial planning tools.
