LambdaVersion
- class aws_cdk.aws_cognito.LambdaVersion(value, names=None, *, module=None, qualname=None, type=None, start=1, boundary=None)
Bases:
Enum
The user pool trigger version of the request that Amazon Cognito sends to your Lambda function.
- ExampleMetadata:
infused
Example:
# userpool: cognito.UserPool # pre_token_generation_fn: lambda.Function userpool.add_trigger(cognito.UserPoolOperation.PRE_TOKEN_GENERATION_CONFIG, pre_token_generation_fn, cognito.LambdaVersion.V2_0)
Attributes
- V1_0
V1_0 trigger.
- V2_0
V2_0 trigger.
This is supported only for PRE_TOKEN_GENERATION trigger.