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).
Disable Lake query federation
You can disable federation by using the CloudTrail console, Amazon CLI, or
DisableFederation API operation.
When you disable federation, CloudTrail disables the integration with Amazon Glue, Amazon Lake Formation, and Amazon Athena.
After disabling Lake query federation, you can no longer query your event data in Athena.
No CloudTrail Lake data is deleted when you disable federation and you can continue to run queries in CloudTrail Lake.
This section describes how to disable federation using the CloudTrail console and Amazon CLI.
- CloudTrail console
-
The following procedure shows you how to disable Lake query federation on an existing event data store.
-
Sign in to the Amazon Web Services Management Console and open the CloudTrail console at
https://console.amazonaws.cn/cloudtrail/.
-
In the navigation pane, under Lake, choose Event data stores.
-
Choose the event data store that you want to update. This opens the event data store's details page.
-
In Lake query federation, choose Edit and then choose Disable.
-
Choose Save changes. The Federation status changes to Disabled
.
- Amazon CLI
-
To disable federation on the event data store, run the aws
cloudtrail disable-federation command. The event data
store is specified by --event-data-store
, which accepts
an event data store ARN or the ID suffix of the ARN.
aws cloudtrail disable-federation
--event-data-store arn:aws:cloudtrail:region
:account-id
:eventdatastore/eds-id
If this is an organization event data store, use the account ID
for the management account.