user2809286
user2809286

Reputation: 173

AWS Cognito: user pool delete protection?

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?

Upvotes: 0

Views: 906

Answers (1)

user2809286
user2809286

Reputation: 173

I found the answer. Use DeletionPolicy. Works for any Cloud Formation resource:

MyPool:
  Type: AWS::Cognito::UserPool
  DeletionPolicy: Retain

Upvotes: 2

Related Questions