AWS::Cognito::UserPoolRiskConfigurationAttachment NotifyEmailType - AWS CloudFormation

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.

This data type is a request parameter of SetRiskConfiguration and a response parameter of DescribeRiskConfiguration.

Syntax

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