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 notify configuration type.
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();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final class
static final class
An implementation forCfnUserPoolRiskConfigurationAttachment.NotifyConfigurationTypeProperty
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
default Object
Email template used when a detected risk event is blocked.default String
getFrom()
The email address that is sending the email.default Object
The multi-factor authentication (MFA) email template used when MFA is challenged as part of a detected risk.default Object
The email template used when a detected risk event is allowed.default String
The destination to which the receiver of an email should reply to.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. -
getBlockEmail
Email template used when a detected risk event is blocked. -
getFrom
The email address that is sending the email.The address must be either individually verified with Amazon Simple Email Service, or from a domain that has been verified with Amazon SES.
-
getMfaEmail
The multi-factor authentication (MFA) email template used when MFA is challenged as part of a detected risk. -
getNoActionEmail
The email template used when a detected risk event is allowed. -
getReplyTo
The destination to which the receiver of an email should reply to. -
builder
@Stability(Stable) static CfnUserPoolRiskConfigurationAttachment.NotifyConfigurationTypeProperty.Builder builder()
-