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 个月前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则