CloudFormation Serverless InviteMessageTemplate Configuration

0

From what I can tell, there is not a configuration specified in the Cognito User Pool specification that configures the Invitation Message Email. The 'Verification Message' can be configured here and whilst there is a document and field InviteMessageTemplate ref that suggests it would work for this, it doesn't actually appear to do so. Configuring this value results in an error:

Error:
UPDATE_FAILED: CognitoUserPool (AWS::Cognito::UserPool)
Properties validation failed for resource CognitoUserPool with message:
[#: extraneous key [InviteMessageTemplate] is not permitted]

Cloud formation will wipe out the existing template without being able to configure this value. Why isn't this value supported despite being in the documentation? How else can the invite message be configured through CloudFormation/Serverless deployments?

1 réponse
0
Réponse acceptée

It's not clear given these documents that the InviteMessage is nested under AdminCreateUserConfig

répondu il y a un mois
profile picture
EXPERT
vérifié il y a un mois

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions