Amazon Cognito · Schema

LogConfigurationType

The logging parameters of a user pool.

AuthenticationIdentityOAuthOIDCSAMLUser ManagementFederated Identity

Properties

Name Type Description
LogLevel object
EventSource object
CloudWatchLogsConfiguration object
View JSON Schema on GitHub

JSON Schema

user-pools-log-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/user-pools-log-configuration-type-schema.json",
  "title": "LogConfigurationType",
  "description": "The logging parameters of a user pool.",
  "type": "object",
  "properties": {
    "LogLevel": {
      "allOf": [
        {
          "$ref": "#/components/schemas/LogLevel"
        },
        {
          "description": "The <code>errorlevel</code> selection of logs that a user pool sends for detailed activity logging."
        }
      ]
    },
    "EventSource": {
      "allOf": [
        {
          "$ref": "#/components/schemas/EventSourceName"
        },
        {
          "description": "The source of events that your user pool sends for detailed activity logging."
        }
      ]
    },
    "CloudWatchLogsConfiguration": {
      "allOf": [
        {
          "$ref": "#/components/schemas/CloudWatchLogsConfigurationType"
        },
        {
          "description": "The CloudWatch logging destination of a user pool."
        }
      ]
    }
  },
  "required": [
    "LogLevel",
    "EventSource"
  ]
}