UNPKG

@types/aws-lambda

Version:

TypeScript definitions for AWS Lambda

16 lines (13 loc) 533 B
import { Handler } from '../../handler'; import { BaseTriggerEvent, StringMap } from './_common'; /** * @see https://docs.aws.amazon.com/cognito/latest/developerguide/user-pool-lambda-post-authentication.html */ export interface PostAuthenticationTriggerEvent extends BaseTriggerEvent<'PostAuthentication_Authentication'> { request: { userAttributes: StringMap; newDeviceUsed: boolean; clientMetadata?: StringMap; }; } export type PostAuthenticationTriggerHandler = Handler<PostAuthenticationTriggerEvent>;