AWSCognitoIdentitySetIdentityPoolRolesInput

Objective-C

@interface AWSCognitoIdentitySetIdentityPoolRolesInput : AWSRequest

Swift

class AWSCognitoIdentitySetIdentityPoolRolesInput : AWSRequest

Input to the SetIdentityPoolRoles action.

Required parameters: [IdentityPoolId, Roles]

  • An identity pool ID in the format REGION:GUID.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *_Nullable identityPoolId;

    Swift

    var identityPoolId: String? { get set }
  • 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.

    Declaration

    Objective-C

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

    Swift

    var roleMappings: [String : AWSCognitoIdentityRoleMapping]? { get set }
  • 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.

    Declaration

    Objective-C

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

    Swift

    var roles: [String : String]? { get set }