LegendPosition
- class aws_cdk.aws_cloudwatch.LegendPosition(value, names=None, *, module=None, qualname=None, type=None, start=1, boundary=None)
Bases:
Enum
The position of the legend on a GraphWidget.
- ExampleMetadata:
infused
Example:
# dashboard: cloudwatch.Dashboard dashboard.add_widgets(cloudwatch.GraphWidget( # ... legend_position=cloudwatch.LegendPosition.RIGHT ))
Attributes
- BOTTOM
Legend appears below the graph (default).
- HIDDEN
Add shading below the annotation.
- RIGHT
Add shading above the annotation.