@Stability(value=Stable)
public static interface CfnUserPoolRiskConfigurationAttachment.NotifyConfigurationTypeProperty
extends software.amazon.jsii.JsiiSerializable
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 Object |
getBlockEmail()
Email template used when a detected risk event is blocked.
|
default String |
getFrom()
The email address that is sending the email.
|
default Object |
getMfaEmail()
The multi-factor authentication (MFA) email template used when MFA is challenged as part of a detected risk.
|
default Object |
getNoActionEmail()
The email template used when a detected risk event is allowed.
|
default String |
getReplyTo()
The destination to which the receiver of an email should reply to.
|
String |
getSourceArn()
The Amazon Resource Name (ARN) of the identity that is associated with the sending authorization policy.
|
@Stability(value=Stable) @NotNull String getSourceArn()
This identity permits Amazon Cognito to send for the email address specified in the From parameter.
@Stability(value=Stable) @Nullable default Object getBlockEmail()
@Stability(value=Stable) @Nullable default 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.
@Stability(value=Stable) @Nullable default Object getMfaEmail()
@Stability(value=Stable) @Nullable default Object getNoActionEmail()
@Stability(value=Stable) @Nullable default String getReplyTo()
@Stability(value=Stable) static CfnUserPoolRiskConfigurationAttachment.NotifyConfigurationTypeProperty.Builder builder()
Copyright © 2022. All rights reserved.