Services or capabilities described in AWS documentation might vary by Region. To see the differences applicable to the AWS European Sovereign Cloud Region, see the AWS European Sovereign Cloud User Guide.Viewing principals and resources in hybrid access mode
Follow these steps to view databases, tables, and principals in hybrid access mode.
- Console
-
- AWS CLI
-
The following example shows how to list all opt in principals and resources that are in hybrid access mode.
aws lakeformation list-lake-formation-opt-ins
The following example shows how to list opt in for a specific principal-resource
pair.
aws lakeformation list-lake-formation-opt-ins --cli-input-json file://file path
json:
{
"Principal": {
"DataLakePrincipalIdentifier": "arn:aws:iam::<account-id>:role/<role name>"
},
"Resource": {
"Table": {
"CatalogId": "<account-id>",
"DatabaseName": "<database name>",
"Name": "<table name>"
}
}
}