AWS

Download 277
Last updated Feb 21, 2024

aws-cloudwatch-metrics

Describes all metric names of your AWS CloudWatch.

aws-cloudwatch-metrics [profile=PROFILE] [region=REGION] [namespace=NAMESPACE] [metric=METRIC] [dimension=DIMENSION] [value=VALUE]
profile=PROFILE
The identifier of AWS connect profile
region=REGION
AWS region
namespace=NAMESPACE
Filter by namespace
metric=METRIC
Filter by metric
dimension=DIMENSION
Filter by dimension
value=VALUE
Filter by value

AWS IAM Policy

To use this command, you must allow the below permissions in your AWS IAM policy:

  • cloudwatch:ListMetrics

Output Fields

FieldTypeNameDescription
aws_profileStringConnect profileThe identifier of AWS connect profile
regionStringRegione.g. ap-northeast-2
namespaceStringNamespacee.g. AWS/EC2, AWS/RDS
metricStringMetrice.g. CPUUtilization, NetworkPacketsOut
dimensionsListDimensionsElements with name and value properties