# IVariable

A single dashboard variable.

Extends: IVariable
Implemented by: DashboardVariable

- Source: [`aws-cloudwatch/lib/variable.ts`](https://github.com/aws/aws-cdk/blob/v2.274.0/packages/aws-cdk-lib/aws-cloudwatch/lib/variable.ts#L36)
- Type last changed: v2.88.0 · 20 Jul 2023

## Methods

- `toJson(): any` — Return the variable JSON for use in the dashboard.
