AWS::Cognito::UserPool InviteMessageTemplate - Amazon CloudFormation
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

AWS::Cognito::UserPool InviteMessageTemplate

The message template to be used for the welcome message to new users.

See also Customizing User Invitation Messages.

Syntax

To declare this entity in your Amazon 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