Amazon Cognito · Schema

LambdaConfigType

Specifies the configuration for Lambda triggers.

AuthenticationIdentityOIDCSAMLUser ManagementFederated Identity

Properties

Name Type Description
PreSignUp object
CustomMessage object
PostConfirmation object
PreAuthentication object
PostAuthentication object
DefineAuthChallenge object
CreateAuthChallenge object
VerifyAuthChallengeResponse object
PreTokenGeneration object
UserMigration object
CustomSMSSender object
CustomEmailSender object
KMSKeyID object
View JSON Schema on GitHub

JSON Schema

user-pools-lambda-config-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-lambda-config-type-schema.json",
  "title": "LambdaConfigType",
  "description": "Specifies the configuration for Lambda triggers.",
  "type": "object",
  "properties": {
    "PreSignUp": {
      "allOf": [
        {
          "$ref": "#/components/schemas/ArnType"
        },
        {
          "description": "A pre-registration Lambda trigger."
        }
      ]
    },
    "CustomMessage": {
      "allOf": [
        {
          "$ref": "#/components/schemas/ArnType"
        },
        {
          "description": "A custom Message Lambda trigger."
        }
      ]
    },
    "PostConfirmation": {
      "allOf": [
        {
          "$ref": "#/components/schemas/ArnType"
        },
        {
          "description": "A post-confirmation Lambda trigger."
        }
      ]
    },
    "PreAuthentication": {
      "allOf": [
        {
          "$ref": "#/components/schemas/ArnType"
        },
        {
          "description": "A pre-authentication Lambda trigger."
        }
      ]
    },
    "PostAuthentication": {
      "allOf": [
        {
          "$ref": "#/components/schemas/ArnType"
        },
        {
          "description": "A post-authentication Lambda trigger."
        }
      ]
    },
    "DefineAuthChallenge": {
      "allOf": [
        {
          "$ref": "#/components/schemas/ArnType"
        },
        {
          "description": "Defines the authentication challenge."
        }
      ]
    },
    "CreateAuthChallenge": {
      "allOf": [
        {
          "$ref": "#/components/schemas/ArnType"
        },
        {
          "description": "Creates an authentication challenge."
        }
      ]
    },
    "VerifyAuthChallengeResponse": {
      "allOf": [
        {
          "$ref": "#/components/schemas/ArnType"
        },
        {
          "description": "Verifies the authentication challenge response."
        }
      ]
    },
    "PreTokenGeneration": {
      "allOf": [
        {
          "$ref": "#/components/schemas/ArnType"
        },
        {
          "description": "A Lambda trigger that is invoked before token generation."
        }
      ]
    },
    "UserMigration": {
      "allOf": [
        {
          "$ref": "#/components/schemas/ArnType"
        },
        {
          "description": "The user migration Lambda config type."
        }
      ]
    },
    "CustomSMSSender": {
      "allOf": [
        {
          "$ref": "#/components/schemas/CustomSMSLambdaVersionConfigType"
        },
        {
          "description": "A custom SMS sender Lambda trigger."
        }
      ]
    },
    "CustomEmailSender": {
      "allOf": [
        {
          "$ref": "#/components/schemas/CustomEmailLambdaVersionConfigType"
        },
        {
          "description": "A custom email sender Lambda trigger."
        }
      ]
    },
    "KMSKeyID": {
      "allOf": [
        {
          "$ref": "#/components/schemas/ArnType"
        },
        {
          "description": "The Amazon Resource Name (ARN) of an <a href=\"/kms/latest/developerguide/concepts.html#master_keys\">KMS key</a>. Amazon Cognito uses the key to encrypt codes and temporary passwords sent to <code>CustomEmailSender</code> and <code>CustomSMSSender</code>."
        }
      ]
    }
  }
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/user-pools-lambda-config-type"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

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.

A second provider on the same verified email joins the account you already have.