AWS::Cognito::UserPoolRiskConfigurationAttachment NotifyEmailType - 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::UserPoolRiskConfigurationAttachment NotifyEmailType

The template for email messages that advanced security features sends to a user when your threat protection automated response has a Notify action.

Syntax

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

JSON

{ "HtmlBody" : String, "Subject" : String, "TextBody" : String }

YAML

HtmlBody: String Subject: String TextBody: String

Properties

HtmlBody

The body of an email notification formatted in HTML. Choose an HtmlBody or a TextBody to send an HTML-formatted or plaintext message, respectively.

Required: No

Type: String

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

Minimum: 6

Maximum: 20000

Update requires: No interruption

Subject

The subject of the threat protection email notification.

Required: Yes

Type: String

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

Minimum: 1

Maximum: 140

Update requires: No interruption

TextBody

The body of an email notification formatted in plaintext. Choose an HtmlBody or a TextBody to send an HTML-formatted or plaintext message, respectively.

Required: No

Type: String

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

Minimum: 6

Maximum: 20000

Update requires: No interruption