IdpSettings
This structure contains settings for a session with a propagated identity from an external IdP. It includes Scope and UseIAMRoleGrants.
You can update the fields independently with PutDataLakeSettings. If you omit a field, Lake Formation preserves its stored value.
If you have not stored IdP settings, GetDataLakeSettings omits IdpSettings. Lake Formation uses an empty Scope and true for UseIAMRoleGrants as defaults.
Contents
- Scope
-
Use this list to identify trusted external accounts whose IAM roles carry a propagated identity. This trust applies when sessions use permissions that your account issues. Omit a scope entry for IAM roles in your own account.
You can include up to 100 unique entries. Each
DataLakePrincipalIdentifiermust contain one of the following:-
An AWS account ID - Identifies a single account.
-
An organization ARN - Identifies the accounts in an organization.
-
An organizational unit (OU) ARN - Identifies the accounts in an OU.
For new organization or OU entries, specify your own organization or one of its OUs.
To replace the stored scope, supply a list in
PutDataLakeSettings. To preserve the stored scope, omitScope. To clear the scope, supply an empty list.Type: Array of DataLakePrincipal objects
Array Members: Minimum number of 0 items. Maximum number of 100 items.
Required: No
-
- UseIAMRoleGrants
-
Specifies whether Lake Formation includes IAM role permissions when authorizing a session with a propagated identity. This setting applies to permissions that your account grants to the session's IAM role.
You can specify the following values:
-
true(default) - Lake Formation combines applicable permissions for the session's IAM role with permissions applicable to the propagated identity. -
false- Lake Formation excludes the IAM role permissions and continues to evaluate permissions applicable to the propagated identity.
Lake Formation uses the setting of the account that issues each grant. If a producer account grants permissions directly to a consumer account's IAM role, Lake Formation uses the producer's setting. If the consumer account re-grants permissions to that IAM role, Lake Formation uses the consumer's setting.
To keep the stored value, omit
UseIAMRoleGrantsfrom yourPutDataLakeSettingsrequest. Lake Formation preservesScopeunless you also supply that field.Type: Boolean
Required: No
-
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the following: