data_lake_principals
Creates, updates, deletes, gets or lists a data_lake_principals resource.
Overview
| Name | data_lake_principals |
| Type | Resource |
| Id | aws.lakeformation.data_lake_principals |
Fields
The following fields are returned by SELECT queries:
- get_data_lake_principal
| Name | Datatype | Description |
|---|---|---|
identity | string | A unique identifier of the invoking principal. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get_data_lake_principal | select | region | Returns the identity of the invoking principal. |
Parameters
Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.
| Name | Datatype | Description |
|---|---|---|
region | string | AWS region (default: us-east-1) |
SELECT examples
- get_data_lake_principal
Returns the identity of the invoking principal.
SELECT
identity
FROM aws.lakeformation.data_lake_principals
WHERE region = '{{ region }}' -- required
;