aws-cognito: add support for PasswordHistorySize attribute in passwordPolicy #33106
Labels
@aws-cdk/aws-cognito
Related to Amazon Cognito
feature-request
A feature should be added or improved.
investigating
This issue is being investigated and/or work is in progress to resolve the issue.
p2
Describe the feature
Hello,
A couple of months ago, Cognito added a new PasswordHistorySize property to the PasswordPolicy object.
See this link
Currently, on CDK 2.176.0, it is not a PasswordPolicy property. It would be great to be able to set it within the UserPool object.
Are there any workarounds to set it?
Use Case
I would like to create a user pool with a password policy that does not allow to change a password if it is the same as the last X passwords.
Proposed Solution
Add a new passwordHistorySize property to the PasswordPolicy object, and allow us to set it like that:
Other Information
No response
Acknowledgements
CDK version used
2.176.0
Environment details (OS name and version, etc.)
typescript, osx
The text was updated successfully, but these errors were encountered: