interface IVariable
| Language | Type name | 
|---|---|
|  .NET | Amazon.CDK.AWS.CloudWatch.IVariable | 
|  Go | github.com/aws/aws-cdk-go/awscdk/v2/awscloudwatch#IVariable | 
|  Java | software.amazon.awscdk.services.cloudwatch.IVariable | 
|  Python | aws_cdk.aws_cloudwatch.IVariable | 
|  TypeScript (source) | aws-cdk-lib»aws_cloudwatch»IVariable | 
Implemented by
Dashboard
A single dashboard variable.
Methods
| Name | Description | 
|---|---|
| to | Return the variable JSON for use in the dashboard. | 
toJson() 
public toJson(): any
Returns
- any
Return the variable JSON for use in the dashboard.
