AWS::Cognito::UserPoolRiskConfigurationAttachment NotifyEmailType - AWS CloudFormation
Services or capabilities described in AWS documentation might vary by Region. To see the differences applicable to the AWS European Sovereign Cloud Region, see the AWS European Sovereign Cloud User Guide.

This is the new CloudFormation Template Reference Guide. Please update your bookmarks and links. For help getting started with CloudFormation, see the AWS CloudFormation User Guide.

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 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