AWS::Cognito::UserPool InviteMessageTemplate - AWS CloudFormation

AWS::Cognito::UserPool InviteMessageTemplate

The template for the welcome message to new users.

See also Customizing User Invitation Messages.

Syntax

To declare this entity in your AWS CloudFormation template, use the following syntax:

JSON

{ "EmailMessage" : String, "EmailSubject" : String, "SMSMessage" : String }

YAML

EmailMessage: String EmailSubject: String SMSMessage: String

Properties

EmailMessage

The message template for email messages. EmailMessage is allowed only if EmailSendingAccount is DEVELOPER.

Required: No

Type: String

Pattern: [\p{L}\p{M}\p{S}\p{N}\p{P}\s*]*\{####\}[\p{L}\p{M}\p{S}\p{N}\p{P}\s*]*

Minimum: 6

Maximum: 20000

Update requires: No interruption

EmailSubject

The subject line for email messages. EmailSubject is allowed only if EmailSendingAccount is DEVELOPER.

Required: No

Type: String

Pattern: [\p{L}\p{M}\p{S}\p{N}\p{P}\s]+

Minimum: 1

Maximum: 140

Update requires: No interruption

SMSMessage

The message template for SMS messages.

Required: No

Type: String

Pattern: .*\{####\}.*

Minimum: 6

Maximum: 140

Update requires: No interruption