Amazon Cognito · Schema

RulesConfigurationType

A container for rules.

AuthenticationIdentityOAuthOIDCSAMLUser ManagementFederated Identity

Properties

Name Type Description
Rules object
View JSON Schema on GitHub

JSON Schema

identity-pools-rules-configuration-type-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/amazon-cognito/refs/heads/main/json-schema/identity-pools-rules-configuration-type-schema.json",
  "title": "RulesConfigurationType",
  "description": "A container for rules.",
  "type": "object",
  "properties": {
    "Rules": {
      "allOf": [
        {
          "$ref": "#/components/schemas/MappingRulesList"
        },
        {
          "description": "<p>An array of rules. You can specify up to 25 rules per identity provider.</p> <p>Rules are evaluated in order. The first one to match specifies the role.</p>"
        }
      ]
    }
  },
  "required": [
    "Rules"
  ]
}