modify existing userpool


I have a stack created in CloudFormation with a Cognito User Pool resource, with DeletionPolicy: Retain to prevent it from being deleted when deleting the stack, my question is, how can I modify the existing userPool, to change password policies or add lambda functions? Thank you so much

2 Answers

If you are using CloudFormation to manage the password, just change "AWS::Cognito::UserPool PasswordPolicy" as is and you should be fine.

profile picture
answered a year ago
  • Sorry if my question was not detailed enough. I need to know if it is possible to control a pre-existing cognito user pool through Cloudformation or AWS SAM, as I can't find any property option where I can declare the cognito user pool id.

profile pictureAWS
answered 8 months ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions