monitorSpecification
An Expression object used to control what costs the monitor analyzes for anomalies.
For Amazon Web Services managed monitors:
If MonitorDimension is
SERVICEorLINKED_ACCOUNT, do not specify this fieldIf MonitorDimension is
TAG, set this field to{ "Tags": { "Key": "your tag key" } }If MonitorDimension is
COST_CATEGORY, set this field to{ "CostCategories": { "Key": "your cost category key" } }
For customer managed monitors:
To track linked accounts, set this field to
{ "Dimensions": { "Key": "LINKED_ACCOUNT", "Values": [ "your list of up to 10 account IDs" ] } }To track cost allocation tags, set this field to
{ "Tags": { "Key": "your tag key", "Values": [ "your list of up to 10 tag values" ] } }To track cost categories, set this field to
{ "CostCategories": { "Key": "your cost category key", "Values": [ "your cost category value" ] } }