Interface CfnUserPoolRiskConfigurationAttachment.INotifyConfigurationTypeProperty
The configuration for Amazon SES email messages that advanced security features sends to a user when your adaptive authentication automated response has a Notify action.
Namespace: Amazon.CDK.AWS.Cognito
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface INotifyConfigurationTypeProperty
Syntax (vb)
Public Interface INotifyConfigurationTypeProperty
Remarks
ExampleMetadata: fixture=_generated
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"
};
Synopsis
Properties
Block |
The template for the email message that your user pool sends when a detected risk event is blocked. |
From | The email address that sends the email message. |
Mfa |
The template for the email message that your user pool sends when MFA is challenged in response to a detected risk. |
No |
The template for the email message that your user pool sends when no action is taken in response to a detected risk. |
Reply |
The reply-to email address of an email template. |
Source |
The Amazon Resource Name (ARN) of the identity that is associated with the sending authorization policy. |
Properties
BlockEmail
The template for the email message that your user pool sends when a detected risk event is blocked.
virtual object BlockEmail { get; }
Property Value
System.
Remarks
From
The email address that sends the email message.
virtual string From { get; }
Property Value
System.
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 template for the email message that your user pool sends when MFA is challenged in response to a detected risk.
virtual object MfaEmail { get; }
Property Value
System.
Remarks
NoActionEmail
The template for the email message that your user pool sends when no action is taken in response to a detected risk.
virtual object NoActionEmail { get; }
Property Value
System.
Remarks
ReplyTo
The reply-to email address of an email template.
virtual string ReplyTo { get; }
Property Value
System.
Remarks
SourceArn
The Amazon Resource Name (ARN) of the identity that is associated with the sending authorization policy.
string SourceArn { get; }
Property Value
System.
Remarks
This identity permits Amazon Cognito to send for the email address specified in the From
parameter.