Table of Contents

Class CfnUserPoolRiskConfigurationAttachment.AccountTakeoverRiskConfigurationTypeProperty

Namespace
Amazon.CDK.AWS.Cognito
Assembly
Amazon.CDK.AWS.Cognito.dll

Configuration for mitigation actions and notification for different levels of risk detected for a potential account takeover.

public class CfnUserPoolRiskConfigurationAttachment.AccountTakeoverRiskConfigurationTypeProperty : CfnUserPoolRiskConfigurationAttachment.IAccountTakeoverRiskConfigurationTypeProperty
Inheritance
CfnUserPoolRiskConfigurationAttachment.AccountTakeoverRiskConfigurationTypeProperty
Implements
Inherited Members

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"
                 }
             };

Remarks

Constructors

AccountTakeoverRiskConfigurationTypeProperty()

public AccountTakeoverRiskConfigurationTypeProperty()

Properties

Actions

Account takeover risk configuration actions.

public object Actions { get; set; }

Property Value

object

Remarks

NotifyConfiguration

The notify configuration used to construct email notifications.

public object? NotifyConfiguration { get; set; }

Property Value

object

Remarks