Skip to main content

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);

ICognitoIdentityRoleMapping

Add a key-value pair to RoleMappings.

Parameters

NameDescription
AProviderNameSpecify the name of an identity provider.
ARoleMappingSpecify the role mapping.

AddRole

procedure AddRole(const AKey: string; const ARoleArn: TARN);

Add a key-value pair to Roles.

Parameters

NameDescription
AKeySpecify a key for the Role. Onlyandare currently supported.
ARoleArnSpecify an Amazon Resource Name (ARN) for a role.