NotifyEmailTypeProperty Struct
The template for email messages that advanced security features sends to a user when your threat protection automated response has a Notify action.
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_cognito as cognito } from 'aws-cdk-lib';
const notifyEmailTypeProperty: cognito.CfnUserPoolRiskConfigurationAttachment.NotifyEmailTypeProperty = {
subject: 'subject',
// the properties below are optional
htmlBody: 'htmlBody',
textBody: 'textBody',
};
Properties
The body of an email notification formatted in HTML.
Choose an HtmlBody or a TextBody to send an HTML-formatted or plaintext message, respectively.
The subject of the threat protection email notification.
The body of an email notification formatted in plaintext.
Choose an HtmlBody or a TextBody to send an HTML-formatted or plaintext message, respectively.