SetIdentityPoolRolesInput is a JSON Structure definition published by Amazon Cognito, describing 3 properties, of which 2 are required. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.
{
"$schema": "https://json-structure.org/meta/core/v0/#",
"$id": "https://raw.githubusercontent.com/api-evangelist/amazon-cognito/refs/heads/main/json-structure/identity-pools-set-identity-pool-roles-input-structure.json",
"name": "SetIdentityPoolRolesInput",
"description": "Input to the <code>SetIdentityPoolRoles</code> action.",
"type": "object",
"properties": {
"IdentityPoolId": {
"allOf": [
{
"$ref": "#/components/schemas/IdentityPoolId"
},
{
"description": "An identity pool ID in the format REGION:GUID."
}
]
},
"Roles": {
"allOf": [
{
"$ref": "#/components/schemas/RolesMap"
},
{
"description": "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."
}
]
},
"RoleMappings": {
"allOf": [
{
"$ref": "#/components/schemas/RoleMappingMap"
},
{
"description": "<p>How users for a specific identity provider are to mapped to roles. This is a string to <a>RoleMapping</a> 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\".</p> <p>Up to 25 rules can be specified per identity provider.</p>"
}
]
}
},
"required": [
"IdentityPoolId",
"Roles"
]
}
Discovery needs no key. Ratings and market analysis are Pro.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we
store it to create your key and to recognise you if you sign in with another
provider. See our Privacy Policy and
Terms.