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 個回答
0
已接受的答案

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

已回答 1 個月前
profile picture
專家
A_J
已審閱 1 個月前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南