AWS::Cognito::UserPool VerificationMessageTemplate
验证消息的模板。
语法
要在 AWS CloudFormation 模板中声明此实体,请使用以下语法:
JSON
{ "DefaultEmailOption" :
String
, "EmailMessage" :String
, "EmailMessageByLink" :String
, "EmailSubject" :String
, "EmailSubjectByLink" :String
, "SmsMessage" :String
}
YAML
DefaultEmailOption:
String
EmailMessage:String
EmailMessageByLink:String
EmailSubject:String
EmailSubjectByLink:String
SmsMessage:String
属性
DefaultEmailOption
-
默认电子邮件选项。
必需:否
类型:字符串
允许的值:
CONFIRM_WITH_CODE | CONFIRM_WITH_LINK
Update requires: No interruption
EmailMessage
-
电子邮件模板。仅当 EmailSendingAccount 是 DEVELOPER 时,才允许 EmailMessage。
必需:否
类型:字符串
最低:
6
最高:
20000
模式:
[\p{L}\p{M}\p{S}\p{N}\p{P}\s*]*\{####\}[\p{L}\p{M}\p{S}\p{N}\p{P}\s*]*
Update requires: No interruption
EmailMessageByLink
-
用于向用户发送确认链接的电子邮件模板。仅当 EmailSendingAccount 是 DEVELOPER 时,才允许 EmailMessageByLink。
必需:否
类型:字符串
最低:
6
最高:
20000
模式:
[\p{L}\p{M}\p{S}\p{N}\p{P}\s*]*\{##[\p{L}\p{M}\p{S}\p{N}\p{P}\s*]*##\}[\p{L}\p{M}\p{S}\p{N}\p{P}\s*]*
Update requires: No interruption
EmailSubject
-
电子邮件模板的主题行。仅当 EmailSendingAccount 是 DEVELOPER 时,才允许 EmailSubject。
必需:否
类型:字符串
最低:
1
最高:
140
模式:
[\p{L}\p{M}\p{S}\p{N}\p{P}\s]+
Update requires: No interruption
EmailSubjectByLink
-
用于向用户发送确认链接的电子邮件模板的主题行。仅当 EmailSendingAccount 是 DEVELOPER 时,才允许 EmailSubjectByLink。
必需:否
类型:字符串
最低:
1
最高:
140
模式:
[\p{L}\p{M}\p{S}\p{N}\p{P}\s]+
Update requires: No interruption
SmsMessage
-
短信模板。
必需:否
类型:字符串
最低:
6
最高:
140
模式:
.*\{####\}.*
Update requires: No interruption