interface YAxisProps
| Language | Type name | 
|---|---|
|  .NET | Amazon.CDK.AWS.CloudWatch.YAxisProps | 
|  Go | github.com/aws/aws-cdk-go/awscdk/v2/awscloudwatch#YAxisProps | 
|  Java | software.amazon.awscdk.services.cloudwatch.YAxisProps | 
|  Python | aws_cdk.aws_cloudwatch.YAxisProps | 
|  TypeScript (source) | aws-cdk-lib»aws_cloudwatch»YAxisProps | 
Properties for a Y-Axis.
Example
declare const dashboard: cloudwatch.Dashboard;
declare const errorAlarm: cloudwatch.Alarm;
declare const gaugeMetric: cloudwatch.Metric;
dashboard.addWidgets(new cloudwatch.GaugeWidget({
  metrics: [gaugeMetric],
  leftYAxis: {
    min: 0,
    max: 1000,
  }
}));
Properties
| Name | Type | Description | 
|---|---|---|
| label? | string | The label. | 
| max? | number | The max value. | 
| min? | number | The min value. | 
| show | boolean | Whether to show units. | 
label?
Type:
string
(optional, default: No label)
The label.
max?
Type:
number
(optional, default: Auto)
The max value.
min?
Type:
number
(optional, default: Auto)
The min value.
showUnits?
Type:
boolean
(optional, default: true)
Whether to show units.
