// A namespace is a container for CloudWatch metrics. Metrics in different namespaces are isolated from each other, so that metrics from different applications are not mistakenly aggregated into the same statistics. For example, Amazon EC2 uses the AWS/EC2 namespace.
namespace:string
// Name of the metric
metricName?:string
// The dimensions of the metric
dimensions?:#Dimensions
// Only show metrics that exactly match all defined dimension names.
matchExact?:bool
// The length of time associated with a specific Amazon CloudWatch statistic. Can be specified by a number of seconds, 'auto', or as a duration string e.g. '15m' being 15 minutes
period?:string
// The ID of the AWS account to query for the metric, specifying `all` will query all accounts that the monitoring account is permitted to query.
accountId?:string
// Metric data aggregations over specified periods of time. For detailed definitions of the statistics supported by CloudWatch, see https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Statistics-definitions.html.
statistic?:string
// @deprecated use statistic
statistics?:[...string]
}@cuetsy(kind="interface")
// A name/value pair that is part of the identity of a metric. For example, you can get statistics for a specific EC2 instance by specifying the InstanceId dimension when you search for metrics.
// Whether a query is a Metrics, Logs, or Annotations query
queryMode?:#CloudWatchQueryMode
// Whether to use a metric search or metric query. Metric query is referred to as "Metrics Insights" in the AWS console.
metricQueryType?:#MetricQueryType
// Whether to use the query builder or code editor to create the query
metricEditorMode?:#MetricEditorMode
// ID can be used to reference other queries in math expressions. The ID can include numbers, letters, and underscore, and must start with a lowercase letter.
id:string
// Deprecated: use label
// @deprecated use label
alias?:string
// Change the time series legend names using dynamic labels. See https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/graph-dynamic-labels.html for more details.
label?:string
// Math expression query
expression?:string
// When the metric query type is `metricQueryType` is set to `Query`, this field is used to specify the query string.
sqlExpression?:string
// When the metric query type is `metricQueryType` is set to `Query` and the `metricEditorMode` is set to `Builder`, this field is used to build up an object representation of a SQL query.