Amazon Cognito · Example Payload

User Pools Lambda Config Type Example

AuthenticationIdentityOAuthOIDCSAMLUser ManagementFederated Identity

User Pools Lambda Config Type Example is an example object payload from Amazon Cognito, with 13 top-level fields. It illustrates the shape of data this provider's APIs accept or return.

Top-level fields

PreSignUpCustomMessagePostConfirmationPreAuthenticationPostAuthenticationDefineAuthChallengeCreateAuthChallengeVerifyAuthChallengeResponsePreTokenGenerationUserMigrationCustomSMSSenderCustomEmailSenderKMSKeyID

Example Payload

Raw ↑
{
  "PreSignUp": "example-string",
  "CustomMessage": "example-string",
  "PostConfirmation": "example-string",
  "PreAuthentication": "example-string",
  "PostAuthentication": "example-string",
  "DefineAuthChallenge": "example-string",
  "CreateAuthChallenge": "example-string",
  "VerifyAuthChallengeResponse": "example-string",
  "PreTokenGeneration": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.example",
  "UserMigration": "example-string",
  "CustomSMSSender": "example-string",
  "CustomEmailSender": "user@example.com",
  "KMSKeyID": "example-string"
}