interface NotifyEmailTypeProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.CfnPropertyMixins.AWS.Cognito.CfnUserPoolRiskConfigurationAttachmentPropsMixin.NotifyEmailTypeProperty |
Go | github.com/aws/aws-cdk-go/awscdkcfnpropertymixins/v2/awscognito#CfnUserPoolRiskConfigurationAttachmentPropsMixin_NotifyEmailTypeProperty |
Java | software.amazon.awscdk.cfnpropertymixins.services.cognito.CfnUserPoolRiskConfigurationAttachmentPropsMixin.NotifyEmailTypeProperty |
Python | aws_cdk.cfn_property_mixins.aws_cognito.CfnUserPoolRiskConfigurationAttachmentPropsMixin.NotifyEmailTypeProperty |
TypeScript | @aws-cdk/cfn-property-mixins » aws_cognito » 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 { aws_cognito as cognito } from '@aws-cdk/cfn-property-mixins';
const notifyEmailTypeProperty: cognito.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