interface NotifyEmailTypeProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.Cognito.Mixins.CfnUserPoolRiskConfigurationAttachmentPropsMixin.NotifyEmailTypeProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awscognito/mixins#CfnUserPoolRiskConfigurationAttachmentPropsMixin_NotifyEmailTypeProperty |
Java | software.amazon.awscdk.mixins.preview.services.cognito.mixins.CfnUserPoolRiskConfigurationAttachmentPropsMixin.NotifyEmailTypeProperty |
Python | aws_cdk.mixins_preview.aws_cognito.mixins.CfnUserPoolRiskConfigurationAttachmentPropsMixin.NotifyEmailTypeProperty |
TypeScript | @aws-cdk/mixins-preview » aws_cognito » mixins » CfnUserPoolRiskConfigurationAttachmentPropsMixin » NotifyEmailTypeProperty |
The template for email messages that advanced security features sends to a user when your threat protection automated response has a Notify action.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { mixins as cognito_mixins } from '@aws-cdk/mixins-preview/aws-cognito';
const notifyEmailTypeProperty: cognito_mixins.CfnUserPoolRiskConfigurationAttachmentPropsMixin.NotifyEmailTypeProperty = {
htmlBody: 'htmlBody',
subject: 'subject',
textBody: 'textBody',
};
Properties
| Name | Type | Description |
|---|---|---|
| html | string | The body of an email notification formatted in HTML. |
| subject? | string | The subject of the threat protection email notification. |
| text | string | The body of an email notification formatted in plaintext. |
htmlBody?
Type:
string
(optional)
The body of an email notification formatted in HTML.
Choose an HtmlBody or a TextBody to send an HTML-formatted or plaintext message, respectively.
subject?
Type:
string
(optional)
The subject of the threat protection email notification.
textBody?
Type:
string
(optional)
The body of an email notification formatted in plaintext.
Choose an HtmlBody or a TextBody to send an HTML-formatted or plaintext message, respectively.

.NET
Go
Java
Python
TypeScript