YAxisProps
- class aws_cdk.aws_cloudwatch.YAxisProps(*, label=None, max=None, min=None, show_units=None)
Bases:
object
Properties for a Y-Axis.
- Parameters:
label (
Optional
[str
]) – The label. Default: - No labelmax (
Union
[int
,float
,None
]) – The max value. Default: - No maximum valuemin (
Union
[int
,float
,None
]) – The min value. Default: 0show_units (
Optional
[bool
]) – Whether to show units. Default: true
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. import aws_cdk.aws_cloudwatch as cloudwatch y_axis_props = cloudwatch.YAxisProps( label="label", max=123, min=123, show_units=False )
Attributes
- label
The label.
- Default:
No label
- max
The max value.
- Default:
No maximum value
- min
The min value.
- Default:
0
- show_units
Whether to show units.
- Default:
true