Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

SetIdentityPoolRolesInput

import type { SetIdentityPoolRolesInput } from "https://aws-api.deno.dev/v0.3/services/cognitoidentity.ts?docs=full";

Input to the SetIdentityPoolRoles action.

interface SetIdentityPoolRolesInput {
IdentityPoolId: string;
RoleMappings?: {
[key: string]: RoleMapping | null | undefined;
}
| null;
Roles: {
[key: string]: string | null | undefined;
}
;
}

§Properties

§
IdentityPoolId: string
[src]

An identity pool ID in the format REGION:GUID.

§
RoleMappings?: {
[key: string]: RoleMapping | null | undefined;
}
| null
[src]

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.

§
Roles: {
[key: string]: string | null | undefined;
}
[src]

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.