Skip to content
v2.274.0

Dimension Struct ​

Metric dimension.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_cloudwatch as cloudwatch } from 'aws-cdk-lib';

declare const value: any;
const dimension: cloudwatch.Dimension = {
  name: 'name',
  value: value,
};

Properties ​

namestringnamestrnameStringNamestringName*stringrequired#
Name of the dimension.
valueanyvalueAnyvalueObjectValueobjectValueinterface{}required#
Value of the dimension.