Difference between revisions of "Filters.json"
Jump to navigation
Jump to search
Line 14: | Line 14: | ||
[[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 | [[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 | ||
+ | |||
+ | == See also == | ||
+ | * {{json}} | ||
+ | |||
+ | [[Category:Json]] |
Revision as of 08:57, 25 August 2022
{ "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
See also
Advertising: