Skip to content

V2 Pre-Token Generation Lamba / Cognito Support #12336

@chris-patten-parsable

Description

@chris-patten-parsable

Is there an existing issue for this?

  • I have searched existing issues, it hasn't been reported yet

Use case description

AWS has release a V2 feature and would like SLS to support it. (https://docs.aws.amazon.com/cognito/latest/developerguide/user-pool-lambda-pre-token-generation.html). It appears that the current solution is hardcoded to V1 (

const validLambdaVersions = ['V1_0'];
). Not sure what it takes to get this feature working but it would be nice to have the support! Looks like CloudFrount exposes in the Cognito Config -> Lambda Config -> PreTokenGenerationConfig -> LambdaVersion. Hope that helps!

Proposed solution (optional)

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions