Interface CfnUserPoolRiskConfigurationAttachment.INotifyConfigurationTypeProperty
The notify configuration type.
public interface CfnUserPoolRiskConfigurationAttachment.INotifyConfigurationTypeProperty
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Cognito;
var notifyConfigurationTypeProperty = new NotifyConfigurationTypeProperty {
SourceArn = "sourceArn",
// the properties below are optional
BlockEmail = new NotifyEmailTypeProperty {
Subject = "subject",
// the properties below are optional
HtmlBody = "htmlBody",
TextBody = "textBody"
},
From = "from",
MfaEmail = new NotifyEmailTypeProperty {
Subject = "subject",
// the properties below are optional
HtmlBody = "htmlBody",
TextBody = "textBody"
},
NoActionEmail = new NotifyEmailTypeProperty {
Subject = "subject",
// the properties below are optional
HtmlBody = "htmlBody",
TextBody = "textBody"
},
ReplyTo = "replyTo"
};
Remarks
ExampleMetadata: fixture=_generated
Properties
BlockEmail
Email template used when a detected risk event is blocked.
object? BlockEmail { get; }
Property Value
Remarks
From
The email address that is sending the email.
string? From { get; }
Property Value
Remarks
The address must be either individually verified with Amazon Simple Email Service, or from a domain that has been verified with Amazon SES.
MfaEmail
The multi-factor authentication (MFA) email template used when MFA is challenged as part of a detected risk.
object? MfaEmail { get; }
Property Value
Remarks
NoActionEmail
The email template used when a detected risk event is allowed.
object? NoActionEmail { get; }
Property Value
Remarks
ReplyTo
The destination to which the receiver of an email should reply to.
string? ReplyTo { get; }
Property Value
Remarks
SourceArn
The Amazon Resource Name (ARN) of the identity that is associated with the sending authorization policy.
string SourceArn { get; }
Property Value
Remarks
This identity permits Amazon Cognito to send for the email address specified in the From
parameter.