Is there a way to prevent a cloud formation update from deleting or recreating a Cognito user pool resource? I'd like to remove the possibility of this from ever happening. Is there a way?
I found the answer. Use DeletionPolicy. Works for any Cloud Formation resource:
MyPool:
Type: AWS::Cognito::UserPool
DeletionPolicy: Retain