public static interface CfnUserPoolRiskConfigurationAttachment.NotifyConfigurationTypeProperty
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();
Modifier and Type | Interface and Description |
---|---|
static class |
CfnUserPoolRiskConfigurationAttachment.NotifyConfigurationTypeProperty.Builder
|
static class |
CfnUserPoolRiskConfigurationAttachment.NotifyConfigurationTypeProperty.Jsii$Proxy
An implementation for
CfnUserPoolRiskConfigurationAttachment.NotifyConfigurationTypeProperty |
Modifier and Type | Method and Description |
---|---|
static CfnUserPoolRiskConfigurationAttachment.NotifyConfigurationTypeProperty.Builder |
builder() |
default java.lang.Object |
getBlockEmail()
Email template used when a detected risk event is blocked.
|
default java.lang.String |
getFrom()
The email address that is sending the email.
|
default java.lang.Object |
getMfaEmail()
The multi-factor authentication (MFA) email template used when MFA is challenged as part of a detected risk.
|
default java.lang.Object |
getNoActionEmail()
The email template used when a detected risk event is allowed.
|
default java.lang.String |
getReplyTo()
The destination to which the receiver of an email should reply to.
|
java.lang.String |
getSourceArn()
The Amazon Resource Name (ARN) of the identity that is associated with the sending authorization policy.
|
java.lang.String getSourceArn()
This identity permits Amazon Cognito to send for the email address specified in the From
parameter.
default java.lang.Object getBlockEmail()
default java.lang.String getFrom()
The address must be either individually verified with Amazon Simple Email Service, or from a domain that has been verified with Amazon SES.
default java.lang.Object getMfaEmail()
default java.lang.Object getNoActionEmail()
default java.lang.String getReplyTo()