Change termination protection - 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).

Change termination protection

By default, event data stores in Amazon CloudTrail Lake are configured with termination protection enabled. Termination protection prevents an event data store from accidental deletion. If you want to delete the event data store, you must disable termination protection. You can disable termination protection by using the Amazon Web Services Management Console, Amazon CLI, or API operations.

To turn off termination protection
  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 Change termination protection.

  5. Choose Disabled.

  6. Choose Save. You can now delete the event data store.

To turn on termination protection
  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 Change termination protection.

  5. To turn on termination protection, choose Enabled.

  6. Choose Save.