public static final class CfnUserPoolRiskConfigurationAttachment.NotifyConfigurationTypeProperty.Builder
extends java.lang.Object
Constructor and Description |
---|
Builder() |
public CfnUserPoolRiskConfigurationAttachment.NotifyConfigurationTypeProperty.Builder sourceArn(java.lang.String sourceArn)
CfnUserPoolRiskConfigurationAttachment.NotifyConfigurationTypeProperty.getSourceArn()
sourceArn
- The Amazon Resource Name (ARN) of the identity that is associated with the sending authorization policy. This parameter is required.
This identity permits Amazon Cognito to send for the email address specified in the From
parameter.this
public CfnUserPoolRiskConfigurationAttachment.NotifyConfigurationTypeProperty.Builder blockEmail(IResolvable blockEmail)
CfnUserPoolRiskConfigurationAttachment.NotifyConfigurationTypeProperty.getBlockEmail()
blockEmail
- Email template used when a detected risk event is blocked.this
public CfnUserPoolRiskConfigurationAttachment.NotifyConfigurationTypeProperty.Builder blockEmail(CfnUserPoolRiskConfigurationAttachment.NotifyEmailTypeProperty blockEmail)
CfnUserPoolRiskConfigurationAttachment.NotifyConfigurationTypeProperty.getBlockEmail()
blockEmail
- Email template used when a detected risk event is blocked.this
public CfnUserPoolRiskConfigurationAttachment.NotifyConfigurationTypeProperty.Builder from(java.lang.String from)
from
- 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.this
public CfnUserPoolRiskConfigurationAttachment.NotifyConfigurationTypeProperty.Builder mfaEmail(IResolvable mfaEmail)
CfnUserPoolRiskConfigurationAttachment.NotifyConfigurationTypeProperty.getMfaEmail()
mfaEmail
- The multi-factor authentication (MFA) email template used when MFA is challenged as part of a detected risk.this
public CfnUserPoolRiskConfigurationAttachment.NotifyConfigurationTypeProperty.Builder mfaEmail(CfnUserPoolRiskConfigurationAttachment.NotifyEmailTypeProperty mfaEmail)
CfnUserPoolRiskConfigurationAttachment.NotifyConfigurationTypeProperty.getMfaEmail()
mfaEmail
- The multi-factor authentication (MFA) email template used when MFA is challenged as part of a detected risk.this
public CfnUserPoolRiskConfigurationAttachment.NotifyConfigurationTypeProperty.Builder noActionEmail(IResolvable noActionEmail)
CfnUserPoolRiskConfigurationAttachment.NotifyConfigurationTypeProperty.getNoActionEmail()
noActionEmail
- The email template used when a detected risk event is allowed.this
public CfnUserPoolRiskConfigurationAttachment.NotifyConfigurationTypeProperty.Builder noActionEmail(CfnUserPoolRiskConfigurationAttachment.NotifyEmailTypeProperty noActionEmail)
CfnUserPoolRiskConfigurationAttachment.NotifyConfigurationTypeProperty.getNoActionEmail()
noActionEmail
- The email template used when a detected risk event is allowed.this
public CfnUserPoolRiskConfigurationAttachment.NotifyConfigurationTypeProperty.Builder replyTo(java.lang.String replyTo)
CfnUserPoolRiskConfigurationAttachment.NotifyConfigurationTypeProperty.getReplyTo()
replyTo
- The destination to which the receiver of an email should reply to.this
public CfnUserPoolRiskConfigurationAttachment.NotifyConfigurationTypeProperty build()
CfnUserPoolRiskConfigurationAttachment.NotifyConfigurationTypeProperty
java.lang.NullPointerException
- if any required attribute was not provided