Create, update, and manage dashboards with the Amazon CLI
This section describes the Amazon CLI commands you can use to create, update, and manage your CloudTrail Lake dashboards.
When using the Amazon CLI,
remember that your commands run in the Amazon Web Services Region configured for your profile. If
you want to run the commands in a different Region, either change the default Region for
your profile, or use the --region parameter with the command.
Available commands for dashboards
Commands for creating and updating dashboards in CloudTrail Lake include:
-
create-dashboardto create a custom dashboard or enable the Highlights dashboard. -
update-dashboardto update a custom dashboard or the Highlights dashboard. -
delete-dashboardto delete a custom dashboard or the Highlights dashboard. -
get-dashboardreturns information about the specified dashboard. -
list-dashboardslists all dashboards for your Amazon Web Services account, or for the specified filter. -
start-dashboard-refreshstarts a refresh of the dashboard. -
get-resource-policygets the resource-based policy attached to the dashboard. -
put-resource-policyattaches a resource-based policy to a dashboard to allow CloudTrail to refresh the dashboard asynchronously on your behalf. You also attach a resource-based policy to an event data store to allow CloudTrail to run queries on the event data store to populate the data for dashboard widgets. -
delete-resource-policyremoves the resource-based policy attached to a dashboard. -
add-tagsadds tags to identify the dashboard. -
remove-tagsremoves tags from a dashboard. -
list-tagslists tags for a dashboard.
For a list of available commands for CloudTrail Lake event data stores, see Available commands for event data stores.
For a list of available commands for CloudTrail Lake queries, see Available commands for CloudTrail Lake queries.
For a list of available commands for CloudTrail Lake integrations, see Available commands for CloudTrail Lake integrations.
Topics: