Interface CfnUserPoolRiskConfigurationAttachment.IAccountTakeoverRiskConfigurationTypeProperty
Configuration for mitigation actions and notification for different levels of risk detected for a potential account takeover.
Namespace: Amazon.CDK.AWS.Cognito
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface IAccountTakeoverRiskConfigurationTypeProperty
Syntax (vb)
Public Interface IAccountTakeoverRiskConfigurationTypeProperty
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 accountTakeoverRiskConfigurationTypeProperty = new AccountTakeoverRiskConfigurationTypeProperty {
Actions = new AccountTakeoverActionsTypeProperty {
HighAction = new AccountTakeoverActionTypeProperty {
EventAction = "eventAction",
Notify = false
},
LowAction = new AccountTakeoverActionTypeProperty {
EventAction = "eventAction",
Notify = false
},
MediumAction = new AccountTakeoverActionTypeProperty {
EventAction = "eventAction",
Notify = false
}
},
// the properties below are optional
NotifyConfiguration = 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
Actions | Account takeover risk configuration actions. |
NotifyConfiguration | The notify configuration used to construct email notifications. |
Properties
Actions
Account takeover risk configuration actions.
object Actions { get; }
Property Value
System.Object
Remarks
NotifyConfiguration
The notify configuration used to construct email notifications.
virtual object NotifyConfiguration { get; }
Property Value
System.Object