filters.json
Jump to navigation
Jump to search
{ "Dimensions": { "Key": "SERVICE", "Values": [ "Amazon Simple Storage Service" ] } }
One line:
{ "Dimensions": { "Key": "SERVICE", "Values": ["Amazon Simple Storage Service"]}}
aws ce get-cost-and-usage --time-period Start=2020-06-01,End=2020-06-30 --granularity MONTHLY --metrics "BlendedCost" "UnblendedCost" "UsageQuantity" --group-by Type=DIMENSION,Key=SERVICE Type=TAG,Key=Environment --filter file://filters.json
Advertising: