aws-pricing
Verified for current stable LTS
Aws Pricing Command: Print Pricing Information With Filters
An engineer would use this AWS pricing command when they need to retrieve the current pricing information for specific EC2 instance types, such as m5.xlarge, in the US East (N. Virginia) region, to compare costs for budgeting or cost estimation purposes. Exact CLI syntax to print_pricing_information_with_filters using Aws Pricing.
When to use this: An engineer would use this AWS pricing command when they need to retrieve the current pricing information for specific EC2 instance types, such as m5.xlarge, in the US East (N. Virginia) region, to compare costs for budgeting or cost estimation purposes.
Command Syntax
aws pricing get-products --service-code <AmazonEC2> --filters "<Type=TERM_MATCH,Field=instanceType,Value=m5.xlarge>" "<Type=TERM_MATCH,Field=location,Value=US East (N. Virginia)>" --region <us-east-1> aws pricing get-products --service-code <AmazonEC2> --filters "<Type=TERM_MATCH,Field=instanceType,Value=m5.xlarge>" "<Type=TERM_MATCH,Field=location,Value=US East (N. Virginia)>" --region <us-east-1> Command Breakdown
--service-code- Command Option
- Tool-specific option used by this command invocation.
--filters- Command Option
- Tool-specific option used by this command invocation.
--region- Command Option
- Tool-specific option used by this command invocation.
FAQ
Purpose: Exact syntax to print_pricing_information_with_filters using Aws Pricing.
Test path: Replace placeholders and run destructive commands in a disposable workspace first.
Flag behavior: Tool version, platform, and shell can change behavior.
Improve This Command
Suggest a correction, safer default, or version-specific note for this entry.
Related Operations
Aws Pricing Command: List Service Codes
aws pricing describe-services --region <us-east-1> Aws Pricing Command: List Values For Attribute aws pricing get-attribute-values --service-code <AmazonEC2> --attribute-name <instanceType> --region <us-east-1> Aws Pricing Command: List Attributes For Service Code aws pricing describe-services --service-code <AmazonEC2> --region <us-east-1> Aws Pricing Command: Print Pricing Information aws pricing get-products --service-code <AmazonEC2> --region <us-east-1>