Delete an event data store - Amazon CloudTrail
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

Delete an event data store

This section describes how to delete an event data store using the Amazon CloudTrail console. For information about how to delete an event data store using the Amazon CLI, see Delete an event data store with the Amazon CLI.

Note

You can't delete an event data store if either termination protection or Lake query federation is enabled. By default, CloudTrail enables termination protection to protect an event data store from being accidentally deleted.

To delete an event data store with an event type of Events from integration, you must first delete the integration's channel. You can delete the channel from the integration's details page or by using the aws cloudtrail delete-channel command. For more information, see Delete a channel to delete an integration with the Amazon CLI

To delete an event data store
  1. Sign in to the Amazon Web Services Management Console and open the CloudTrail console at https://console.amazonaws.cn/cloudtrail/.

  2. In the navigation pane, under Lake, choose Event data stores.

  3. Choose the event data store.

  4. From Actions, choose Delete.

  5. Type the name of the event data store to confirm that you want to delete it.

  6. Choose Delete.

After you delete an event data store, the event data store's status changes to PENDING_DELETION and remains in that state for 7 days. You can restore an event data store during the 7-day wait period. While in the PENDING_DELETION state, an event data store isn't available for queries, and no other operations can be performed on the event data store except restore operations. An event data store that is pending deletion does not ingest events and does not incur costs.