Interface CfnUserPoolRiskConfigurationAttachment.NotifyConfigurationTypeProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnUserPoolRiskConfigurationAttachment.NotifyConfigurationTypeProperty.Jsii$Proxy
- Enclosing class:
CfnUserPoolRiskConfigurationAttachment
@Stability(Stable)
public static interface CfnUserPoolRiskConfigurationAttachment.NotifyConfigurationTypeProperty
extends software.amazon.jsii.JsiiSerializable
The configuration for Amazon SES email messages that advanced security features sends to a user when your adaptive authentication 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 software.amazon.awscdk.services.cognito.*; NotifyConfigurationTypeProperty notifyConfigurationTypeProperty = NotifyConfigurationTypeProperty.builder() .sourceArn("sourceArn") // the properties below are optional .blockEmail(NotifyEmailTypeProperty.builder() .subject("subject") // the properties below are optional .htmlBody("htmlBody") .textBody("textBody") .build()) .from("from") .mfaEmail(NotifyEmailTypeProperty.builder() .subject("subject") // the properties below are optional .htmlBody("htmlBody") .textBody("textBody") .build()) .noActionEmail(NotifyEmailTypeProperty.builder() .subject("subject") // the properties below are optional .htmlBody("htmlBody") .textBody("textBody") .build()) .replyTo("replyTo") .build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final class
static final class
An implementation forCfnUserPoolRiskConfigurationAttachment.NotifyConfigurationTypeProperty
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
default Object
The template for the email message that your user pool sends when a detected risk event is blocked.default String
getFrom()
The email address that sends the email message.default Object
The template for the email message that your user pool sends when MFA is challenged in response to a detected risk.default Object
The template for the email message that your user pool sends when no action is taken in response to a detected risk.default String
The reply-to email address of an email template.The Amazon Resource Name (ARN) of the identity that is associated with the sending authorization policy.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getSourceArn
The Amazon Resource Name (ARN) of the identity that is associated with the sending authorization policy.This identity permits Amazon Cognito to send for the email address specified in the
From
parameter.- See Also:
-
getBlockEmail
The template for the email message that your user pool sends when a detected risk event is blocked.- See Also:
-
getFrom
The email address that sends the email message.The address must be either individually verified with Amazon Simple Email Service, or from a domain that has been verified with Amazon SES.
- See Also:
-
getMfaEmail
The template for the email message that your user pool sends when MFA is challenged in response to a detected risk.- See Also:
-
getNoActionEmail
The template for the email message that your user pool sends when no action is taken in response to a detected risk.- See Also:
-
getReplyTo
The reply-to email address of an email template.- See Also:
-
builder
@Stability(Stable) static CfnUserPoolRiskConfigurationAttachment.NotifyConfigurationTypeProperty.Builder builder()
-