Amazon Cognito · JSON Structure

User Pools Lambda Config Type Structure

Specifies the configuration for Lambda triggers.

Type: object Properties: 13
AuthenticationIdentityOIDCSAMLUser ManagementFederated Identity

LambdaConfigType is a JSON Structure definition published by Amazon Cognito, describing 13 properties. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

PreSignUp CustomMessage PostConfirmation PreAuthentication PostAuthentication DefineAuthChallenge CreateAuthChallenge VerifyAuthChallengeResponse PreTokenGeneration UserMigration CustomSMSSender CustomEmailSender KMSKeyID

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/amazon-cognito/refs/heads/main/json-structure/user-pools-lambda-config-type-structure.json",
  "name": "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 Structure 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 json structure

4 MCP tools reach this
  • find_json_structuresBrowse and filter every JSON Structure 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 Structure
curl "https://apis.io/api/v1/json-structures/user-pools-lambda-config-type-structure"
All json structure
curl "https://apis.io/api/v1/json-structures?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.