AWS SDK Version 3 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

Container for the parameters to the SetIdentityPoolRoles operation. Sets the roles for an identity pool. These roles are used when making calls to GetCredentialsForIdentity action.

You must use AWS Developer credentials to call this API.

Inheritance Hierarchy

System.Object
  Amazon.Runtime.AmazonWebServiceRequest
    Amazon.CognitoIdentity.AmazonCognitoIdentityRequest
      Amazon.CognitoIdentity.Model.SetIdentityPoolRolesRequest

Namespace: Amazon.CognitoIdentity.Model
Assembly: AWSSDK.CognitoIdentity.dll
Version: 3.x.y.z

Syntax

C#
public class SetIdentityPoolRolesRequest : AmazonCognitoIdentityRequest
         IAmazonWebServiceRequest

The SetIdentityPoolRolesRequest type exposes the following members

Constructors

Properties

NameTypeDescription
Public Property IdentityPoolId System.String

Gets and sets the property IdentityPoolId.

An identity pool ID in the format REGION:GUID.

Public Property RoleMappings System.Collections.Generic.Dictionary<System.String, Amazon.CognitoIdentity.Model.RoleMapping>

Gets and sets the property RoleMappings.

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-east-1.amazonaws.com/us-east-1_abcdefghi:app_client_id".

Up to 25 rules can be specified per identity provider.

Public Property Roles System.Collections.Generic.Dictionary<System.String, System.String>

Gets and sets the property Roles.

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.

Version Information

.NET Standard:
Supported in: 1.3

.NET Framework:
Supported in: 4.5, 4.0, 3.5

Portable Class Library:
Supported in: Windows Store Apps
Supported in: Windows Phone 8.1
Supported in: Xamarin Android
Supported in: Xamarin iOS (Unified)
Supported in: Xamarin.Forms

Unity:
Supported Versions: 4.6 and above
Supported Platforms: Android, iOS, Standalone