ICognitoIdentitySetIdentityPoolRolesRequest
Interface in AWS.CognitoIdentity
Interface for SetIdentityPoolRoles requests.
Ancestors
Properties
IdentityPoolId
property IdentityPoolId: string
Specify the ID of the identity pool in the format REGION:GUID.
RoleMappings
property RoleMappings: TDictionary<string, ICognitoIdentityRoleMapping>
Type: ICognitoIdentityRoleMapping
How users for a specified identity provider (IdP) are mapped to roles.
Roles
property Roles: TDictionary<string, TARN>
The map of roles associated with the identity pool.
Only authenticated and unauthenticated are currently supported.
Methods
AddRoleMapping
procedure AddRoleMapping(const AProviderName: string; const ARoleMapping: ICognitoIdentityRoleMapping);
Add a key-value pair to RoleMappings.
Parameters
| Name | Description |
|---|---|
AProviderName | Specify the name of an identity provider. |
ARoleMapping | Specify the role mapping. |
AddRole
procedure AddRole(const AKey: string; const ARoleArn: TARN);
Add a key-value pair to Roles.
Parameters
| Name | Description |
|---|---|
AKey | Specify a key for the Role. Onlyandare currently supported. |
ARoleArn | Specify an Amazon Resource Name (ARN) for a role. |