Кто-нибудь знает, могу ли я установить поля «Тема сообщения электронной почты» и «Сообщение электронной почты» в файле конфигурации шаблона формирования облака?
В документации AWS указывается, что эти поля недоступны.
Итак:
Resources: CognitoUserPool: Type: AWS::Cognito::UserPool Properties: UserPoolName: ${self:custom.service}-${self:custom.stage}-UserPool AdminCreateUserConfig: InviteMessageTemplate: EmailMessage: "Your username is {username} and temporary password is {####}." EmailSubject: "Your temporary password"
Существует целая документация по настройке с помощью CloudFormation https://docs.amazonaws.cn/en_us/AWSCloudFormation/latest/UserGuide/aws-properties-cognito-userpool-invitemessagetemplate.html#cfn-cognito-userpool-invitemessagetemplate-emailmessage
Ах, нашел его в AdminCreateUserConfig -> раздел InviteMessageTemplate