PreTokenGenerationVersionConfigType - Amazon Cognito User Pools

PreTokenGenerationVersionConfigType

The properties of a pre token generation Lambda trigger.

Contents

LambdaArn

The Amazon Resource Name (ARN) of the function that you want to assign to your Lambda trigger.

This parameter and the PreTokenGeneration property of LambdaConfig have the same value. For new instances of pre token generation triggers, set LambdaArn.

Type: String

Length Constraints: Minimum length of 20. Maximum length of 2048.

Pattern: arn:[\w+=/,.@-]+:[\w+=/,.@-]+:([\w+=/,.@-]*)?:[0-9]+:[\w+=/,.@-]+(:[\w+=/,.@-]+)?(:[\w+=/,.@-]+)?

Required: Yes

LambdaVersion

The user pool trigger version of the request that Amazon Cognito sends to your Lambda function. Higher-numbered versions add fields that support new features.

Type: String

Valid Values: V1_0 | V2_0

Required: Yes

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: