Skip to content

IdpSettings

Source code in docs_src/capo_lakeformation/types/idp_settings.py
class IdpSettings(TypedDict, closed=True):
    scope: NotRequired["capo_lakeformation.types.idp_scope_list.IdpScopeList"]
    """<p>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.</p> <p>You can include up to 100 unique entries. Each <code>DataLakePrincipalIdentifier</code> must contain one of the following:</p> <ul> <li> <p>An Amazon Web Services account ID - Identifies a single account.</p> </li> <li> <p>An organization ARN - Identifies the accounts in an organization.</p> </li> <li> <p>An organizational unit (OU) ARN - Identifies the accounts in an OU.</p> </li> </ul> <p>For new organization or OU entries, specify your own organization or one of its OUs.</p> <p>To replace the stored scope, supply a list in <code>PutDataLakeSettings</code>. To preserve the stored scope, omit <code>Scope</code>. To clear the scope, supply an empty list.</p>"""
    use_iam_role_grants: NotRequired[
        "capo_lakeformation.types.nullable_boolean.NullableBoolean"
    ]
    """<p>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.</p> <p>You can specify the following values:</p> <ul> <li> <p> <code>true</code> (default) - Lake Formation combines applicable permissions for the session's IAM role with permissions applicable to the propagated identity.</p> </li> <li> <p> <code>false</code> - Lake Formation excludes the IAM role permissions and continues to evaluate permissions applicable to the propagated identity.</p> </li> </ul> <p>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.</p> <p>To keep the stored value, omit <code>UseIAMRoleGrants</code> from your <code>PutDataLakeSettings</code> request. Lake Formation preserves <code>Scope</code> unless you also supply that field.</p>"""

scope instance-attribute

scope: NotRequired[IdpScopeList]

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 DataLakePrincipalIdentifier must contain one of the following:

  • An Amazon Web Services 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, omit Scope. To clear the scope, supply an empty list.

use_iam_role_grants instance-attribute

use_iam_role_grants: NotRequired[NullableBoolean]

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 UseIAMRoleGrants from your PutDataLakeSettings request. Lake Formation preserves Scope unless you also supply that field.