Class 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.
Inherited Members
Namespace: Amazon.CDK.Mixins.Preview.AWS.Cognito.Mixins
Assembly: Amazon.CDK.Mixins.Preview.dll
Syntax (csharp)
public class CfnUserPoolRiskConfigurationAttachmentPropsMixin.NotifyEmailTypeProperty : CfnUserPoolRiskConfigurationAttachmentPropsMixin.INotifyEmailTypeProperty
Syntax (vb)
Public Class CfnUserPoolRiskConfigurationAttachmentPropsMixin.NotifyEmailTypeProperty Implements CfnUserPoolRiskConfigurationAttachmentPropsMixin.INotifyEmailTypeProperty
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.Mixins.Preview.AWS.Cognito.Mixins;
var notifyEmailTypeProperty = new NotifyEmailTypeProperty {
HtmlBody = "htmlBody",
Subject = "subject",
TextBody = "textBody"
};
Synopsis
Constructors
| NotifyEmailTypeProperty() | The template for email messages that advanced security features sends to a user when your threat protection automated response has a Notify action. |
Properties
| HtmlBody | The body of an email notification formatted in HTML. |
| Subject | The subject of the threat protection email notification. |
| TextBody | The body of an email notification formatted in plaintext. |
Constructors
NotifyEmailTypeProperty()
The template for email messages that advanced security features sends to a user when your threat protection automated response has a Notify action.
public NotifyEmailTypeProperty()
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.Mixins.Preview.AWS.Cognito.Mixins;
var notifyEmailTypeProperty = new NotifyEmailTypeProperty {
HtmlBody = "htmlBody",
Subject = "subject",
TextBody = "textBody"
};
Properties
HtmlBody
The body of an email notification formatted in HTML.
public string? HtmlBody { get; set; }
Property Value
Remarks
Choose an HtmlBody or a TextBody to send an HTML-formatted or plaintext message, respectively.
Subject
The subject of the threat protection email notification.
public string? Subject { get; set; }
Property Value
Remarks
TextBody
The body of an email notification formatted in plaintext.
public string? TextBody { get; set; }
Property Value
Remarks
Choose an HtmlBody or a TextBody to send an HTML-formatted or plaintext message, respectively.