Amazon Web ServicesAuto-ScalingComputeEC2High AvailabilityScaling
Metric is a JSON Structure definition published by Amazon EC2 Auto Scaling, describing 3 properties, of which 2 are required. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.
{
"$schema": "https://json-structure.org/meta/core/v0/#",
"$id": "https://raw.githubusercontent.com/api-evangelist/amazon-ec2-auto-scaling/refs/heads/main/json-structure/ec2-auto-scaling-metric-structure.json",
"name": "Metric",
"description": "Represents a specific metric. ",
"type": "object",
"properties": {
"Namespace": {
"allOf": [
{
"$ref": "#/components/schemas/MetricNamespace"
},
{
"description": "The namespace of the metric. For more information, see the table in <a href=\"https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/aws-services-cloudwatch-metrics.html\">Amazon Web Services services that publish CloudWatch metrics </a> in the <i>Amazon CloudWatch User Guide</i>."
}
]
},
"MetricName": {
"allOf": [
{
"$ref": "#/components/schemas/MetricName"
},
{
"description": "The name of the metric."
}
]
},
"Dimensions": {
"allOf": [
{
"$ref": "#/components/schemas/MetricDimensions"
},
{
"description": "<p>The dimensions for the metric. For the list of available dimensions, see the Amazon Web Services documentation available from the table in <a href=\"https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/aws-services-cloudwatch-metrics.html\">Amazon Web Services services that publish CloudWatch metrics </a> in the <i>Amazon CloudWatch User Guide</i>. </p> <p>Conditional: If you published your metric with dimensions, you must specify the same dimensions in your scaling policy.</p>"
}
]
}
},
"required": [
"Namespace",
"MetricName"
]
}
Discovery needs no key. Ratings and market analysis are Pro.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we
store it to create your key and to recognise you if you sign in with another
provider. See our Privacy Policy and
Terms.