# Dimension

Metric dimension.

- Source: [`aws-cloudwatch/lib/metric-types.ts`](https://github.com/aws/aws-cdk/blob/v2.275.0/packages/aws-cdk-lib/aws-cloudwatch/lib/metric-types.ts#L51)

## 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

- `name`: string (required) — Name of the dimension.

- `value`: any (required) — Value of the dimension.
