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 Antwort
0
Akzeptierte Antwort

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

beantwortet vor einem Monat
profile picture
EXPERTE
A_J
überprüft vor einem Monat

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen