DashboardProps

class aws_cdk.aws_cloudwatch.DashboardProps(*, dashboard_name=None, end=None, period_override=None, start=None, widgets=None)

Bases: object

__init__(*, dashboard_name=None, end=None, period_override=None, start=None, widgets=None)
Parameters
  • dashboard_name (Optional[str]) – Name of the dashboard. If set, must only contain alphanumerics, dash (-) and underscore (_) Default: - automatically generated name

  • end (Optional[str]) – The end of the time range to use for each widget on the dashboard when the dashboard loads. If you specify a value for end, you must also specify a value for start. Specify an absolute time in the ISO 8601 format. For example, 2018-12-17T06:00:00.000Z. Default: When the dashboard loads, the end date will be the current time.

  • period_override (Optional[PeriodOverride]) – Use this field to specify the period for the graphs when the dashboard loads. Specifying Auto causes the period of all graphs on the dashboard to automatically adapt to the time range of the dashboard. Specifying Inherit ensures that the period set for each graph is always obeyed. Default: Auto

  • start (Optional[str]) – The start of the time range to use for each widget on the dashboard. You can specify start without specifying end to specify a relative time range that ends with the current time. In this case, the value of start must begin with -P, and you can use M, H, D, W and M as abbreviations for minutes, hours, days, weeks and months. For example, -PT8H shows the last 8 hours and -P3M shows the last three months. You can also use start along with an end field, to specify an absolute time range. When specifying an absolute time range, use the ISO 8601 format. For example, 2018-12-17T06:00:00.000Z. Default: When the dashboard loads, the start time will be the default time range.

  • widgets (Optional[List[List[IWidget]]]) – Initial set of widgets on the dashboard. One array represents a row of widgets. Default: - No widgets

Attributes

dashboard_name

Name of the dashboard.

If set, must only contain alphanumerics, dash (-) and underscore (_)

default :default: - automatically generated name

Return type

Optional[str]

end

00.000Z.

default :default: When the dashboard loads, the end date will be the current time.

Type

The end of the time range to use for each widget on the dashboard when the dashboard loads. If you specify a value for end, you must also specify a value for start. Specify an absolute time in the ISO 8601 format. For example, 2018-12-17T06

Type

00

Return type

Optional[str]

period_override

Use this field to specify the period for the graphs when the dashboard loads. Specifying Auto causes the period of all graphs on the dashboard to automatically adapt to the time range of the dashboard. Specifying Inherit ensures that the period set for each graph is always obeyed.

default :default: Auto

Return type

Optional[PeriodOverride]

start

00.000Z.

default :default: When the dashboard loads, the start time will be the default time range.

Type

The start of the time range to use for each widget on the dashboard. You can specify start without specifying end to specify a relative time range that ends with the current time. In this case, the value of start must begin with -P, and you can use M, H, D, W and M as abbreviations for minutes, hours, days, weeks and months. For example, -PT8H shows the last 8 hours and -P3M shows the last three months. You can also use start along with an end field, to specify an absolute time range. When specifying an absolute time range, use the ISO 8601 format. For example, 2018-12-17T06

Type

00

Return type

Optional[str]

widgets

Initial set of widgets on the dashboard.

One array represents a row of widgets.

default :default: - No widgets

Return type

Optional[List[List[IWidget]]]