Amazon Cognito · Schema

SetRiskConfigurationRequest

SetRiskConfigurationRequest schema from Amazon Cognito

AuthenticationAuthorizationIdentityIdentity ProviderOAuth2OIDC

Properties

Name Type Description
UserPoolId object
ClientId object
CompromisedCredentialsRiskConfiguration object
AccountTakeoverRiskConfiguration object
RiskExceptionConfiguration object
View JSON Schema on GitHub

JSON Schema

cognito-idp-set-risk-configuration-request-schema.json Raw ↑
{
  "type": "object",
  "properties": {
    "UserPoolId": {
      "allOf": [
        {
          "$ref": "#/components/schemas/UserPoolIdType"
        },
        {
          "description": "The user pool ID. "
        }
      ]
    },
    "ClientId": {
      "allOf": [
        {
          "$ref": "#/components/schemas/ClientIdType"
        },
        {
          "description": "<p>The app client ID. If <code>ClientId</code> is null, then the risk configuration is mapped to <code>userPoolId</code>. When the client ID is null, the same risk configuration is applied to all the clients in the userPool.</p> <p>Otherwise, <code>ClientId</code> is mapped to the client. When the client ID isn't null, the user pool configuration is overridden and the risk configuration for the client is used instead.</p>"
        }
      ]
    },
    "CompromisedCredentialsRiskConfiguration": {
      "allOf": [
        {
          "$ref": "#/components/schemas/CompromisedCredentialsRiskConfigurationType"
        },
        {
          "description": "The compromised credentials risk configuration."
        }
      ]
    },
    "AccountTakeoverRiskConfiguration": {
      "allOf": [
        {
          "$ref": "#/components/schemas/AccountTakeoverRiskConfigurationType"
        },
        {
          "description": "The account takeover risk configuration."
        }
      ]
    },
    "RiskExceptionConfiguration": {
      "allOf": [
        {
          "$ref": "#/components/schemas/RiskExceptionConfigurationType"
        },
        {
          "description": "The configuration to override the risk decision."
        }
      ]
    }
  },
  "required": [
    "UserPoolId"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/aws-cognito/refs/heads/main/json-schema/cognito-idp-set-risk-configuration-request-schema.json",
  "title": "SetRiskConfigurationRequest",
  "description": "SetRiskConfigurationRequest schema from Amazon Cognito"
}