AWSCognitoIdentitySetIdentityPoolRolesInput Class Reference

Inherits from AWSRequest : AWSModel : AWSMTLModel
Declared in AWSCognitoIdentityModel.h


Input to the SetIdentityPoolRoles action.

Required parameters: [IdentityPoolId, Roles]


An identity pool ID in the format REGION:GUID.

@property (nonatomic, strong) NSString *identityPoolId

Declared In



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, "" or "".

Up to 25 rules can be specified per identity provider.

@property (nonatomic, strong) NSDictionary<NSString*AWSCognitoIdentityRoleMapping*> *roleMappings

Declared In



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.

@property (nonatomic, strong) NSDictionary<NSString*NSString*> *roles

Declared In