CreateDashboardRequest
¶
Source code in docs_src/capo_cloudtrail/types/create_dashboard_request.py
name
instance-attribute
¶
name: DashboardName
The name of the dashboard. The name must be unique to your account.
To create the Highlights dashboard, the name must be AWSCloudTrail-Highlights.
refresh_schedule
instance-attribute
¶
refresh_schedule: NotRequired[RefreshSchedule]
The refresh schedule configuration for the dashboard.
To create the Highlights dashboard, you must set a refresh schedule and set the Status to ENABLED. The Unit for the refresh schedule must be HOURS and the Value must be 6.
termination_protection_enabled
instance-attribute
¶
termination_protection_enabled: NotRequired[TerminationProtectionEnabled]
Specifies whether termination protection is enabled for the dashboard. If termination protection is enabled, you cannot delete the dashboard until termination protection is disabled.
widgets
instance-attribute
¶
widgets: NotRequired[RequestWidgetList]
An array of widgets for a custom dashboard. A custom dashboard can have a maximum of ten widgets.
You do not need to specify widgets for the Highlights dashboard.