AWS::Cognito::UserPool PreTokenGenerationConfig - AWS CloudFormation

AWS::Cognito::UserPool PreTokenGenerationConfig

The properties of a pre token generation Lambda trigger.

Syntax

To declare this entity in your AWS CloudFormation template, use the following syntax:

JSON

{ "LambdaArn" : String, "LambdaVersion" : String }

YAML

LambdaArn: String LambdaVersion: String

Properties

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.

Required: No

Type: String

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

Minimum: 20

Maximum: 2048

Update requires: No interruption

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.

Required: No

Type: String

Allowed values: V1_0 | V2_0

Update requires: No interruption