cognitoidentity_set_identity_pool_roles: Sets the roles for an identity pool

View source: R/cognitoidentity_operations.R

cognitoidentity_set_identity_pool_rolesR Documentation

Sets the roles for an identity pool

Description

Sets the roles for an identity pool. These roles are used when making calls to get_credentials_for_identity action.

See https://www.paws-r-sdk.com/docs/cognitoidentity_set_identity_pool_roles/ for full documentation.

Usage

cognitoidentity_set_identity_pool_roles(
  IdentityPoolId,
  Roles,
  RoleMappings = NULL
)

Arguments

IdentityPoolId

[required] An identity pool ID in the format REGION:GUID.

Roles

[required] The map of roles associated with this pool. For a given role, the key will be either "authenticated" or "unauthenticated" and the value will be the Role ARN.

RoleMappings

How users for a specific identity provider are to mapped to roles. This is a string to RoleMapping object map. The string identifies the identity provider, for example, "graph.facebook.com" or "cognito-idp.us-east-1.amazonaws.com/us-east-1_abcdefghi:app_client_id".

Up to 25 rules can be specified per identity provider.


paws.security.identity documentation built on Sept. 12, 2024, 6:30 a.m.