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();
 
  • Method Details

    • getSourceArn

      @Stability(Stable) @NotNull String 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

      @Stability(Stable) @Nullable default Object getBlockEmail()
      Email template used when a detected risk event is blocked.
    • getFrom

      @Stability(Stable) @Nullable default String 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

      @Stability(Stable) @Nullable default Object getMfaEmail()
      The multi-factor authentication (MFA) email template used when MFA is challenged as part of a detected risk.
    • getNoActionEmail

      @Stability(Stable) @Nullable default Object getNoActionEmail()
      The email template used when a detected risk event is allowed.
    • getReplyTo

      @Stability(Stable) @Nullable default String getReplyTo()
      The destination to which the receiver of an email should reply to.
    • builder

      Returns:
      a CfnUserPoolRiskConfigurationAttachment.NotifyConfigurationTypeProperty.Builder of CfnUserPoolRiskConfigurationAttachment.NotifyConfigurationTypeProperty