AWS

Download 48
Last updated Jun 6, 2022

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