Interface CfnUserPoolRiskConfigurationAttachment.NotifyEmailTypeProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnUserPoolRiskConfigurationAttachment.NotifyEmailTypeProperty.Jsii$Proxy
- Enclosing class:
CfnUserPoolRiskConfigurationAttachment
@Stability(Stable)
public static interface CfnUserPoolRiskConfigurationAttachment.NotifyEmailTypeProperty
extends software.amazon.jsii.JsiiSerializable
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 .
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.cognito.*;
NotifyEmailTypeProperty notifyEmailTypeProperty = NotifyEmailTypeProperty.builder()
.subject("subject")
// the properties below are optional
.htmlBody("htmlBody")
.textBody("textBody")
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classstatic final classAn implementation forCfnUserPoolRiskConfigurationAttachment.NotifyEmailTypeProperty -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getSubject
The subject of the threat protection email notification.- See Also:
-
getHtmlBody
The body of an email notification formatted in HTML.Choose an
HtmlBodyor aTextBodyto send an HTML-formatted or plaintext message, respectively.- See Also:
-
getTextBody
The body of an email notification formatted in plaintext.Choose an
HtmlBodyor aTextBodyto send an HTML-formatted or plaintext message, respectively.- See Also:
-
builder
@Stability(Stable) static CfnUserPoolRiskConfigurationAttachment.NotifyEmailTypeProperty.Builder builder()
-