Properties
callerContext
callerContext: { awsSdkVersion: string; clientId: string }
Type declaration
-
awsSdkVersion: string
-
clientId: string
request
request: { challengeName: string; clientMetadata?: StringMap; session: (ChallengeResult | CustomChallengeResult)[]; userAttributes: StringMap; userNotFound?: boolean }
Type declaration
-
challengeName: string
-
Optional clientMetadata?: StringMap
-
session: (ChallengeResult | CustomChallengeResult)[]
-
userAttributes: StringMap
-
Optional userNotFound?: boolean
response
response: { challengeMetadata: string; privateChallengeParameters: StringMap; publicChallengeParameters: StringMap }
Type declaration
-
challengeMetadata: string
-
privateChallengeParameters: StringMap
-
publicChallengeParameters: StringMap
triggerSource
triggerSource: "CreateAuthChallenge_Authentication"
userName
userName: string
userPoolId
userPoolId: string
https://docs.aws.amazon.com/cognito/latest/developerguide/user-pool-lambda-create-auth-challenge.html