(aws-cognito): add ability to use V2_0 as PreTokenGenerationConfig #31595
Labels
@aws-cdk/aws-cognito
Related to Amazon Cognito
effort/medium
Medium work item – several days of effort
feature-request
A feature should be added or improved.
p2
response-requested
Waiting on additional info and feedback. Will move to "closing-soon" in 7 days.
Describe the feature
I want to use Cognito's advanced security for augmenting access tokens per https://docs.aws.amazon.com/cognito/latest/developerguide/user-pool-lambda-pre-token-generation.html#user-pool-lambda-pre-token-generation-accesstoken
From what I can tell this should be as simple as setting
LambdaVersion
toV2_0
of https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cognito-userpool-pretokengenerationconfig.html#cfn-cognito-userpool-pretokengenerationconfig-lambdaversionUse Case
Changing access tokens
Proposed Solution
add
PRE_TOKEN_GENERATION_CONFIG_V2
to UserPoolOperation enumOther Information
No response
Acknowledgements
CDK version used
2.160.0
Environment details (OS name and version, etc.)
MacOS Sierra
The text was updated successfully, but these errors were encountered: