Table of Contents

Class CfnUserPoolRiskConfigurationAttachmentProps

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

Properties for defining a CfnUserPoolRiskConfigurationAttachment.

public class CfnUserPoolRiskConfigurationAttachmentProps : ICfnUserPoolRiskConfigurationAttachmentProps
Inheritance
CfnUserPoolRiskConfigurationAttachmentProps
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 cfnUserPoolRiskConfigurationAttachmentProps = new CfnUserPoolRiskConfigurationAttachmentProps {
                 ClientId = "clientId",
                 UserPoolId = "userPoolId",

                 // the properties below are optional
                 AccountTakeoverRiskConfiguration = 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"
                     }
                 },
                 CompromisedCredentialsRiskConfiguration = new CompromisedCredentialsRiskConfigurationTypeProperty {
                     Actions = new CompromisedCredentialsActionsTypeProperty {
                         EventAction = "eventAction"
                     },

                     // the properties below are optional
                     EventFilter = new [] { "eventFilter" }
                 },
                 RiskExceptionConfiguration = new RiskExceptionConfigurationTypeProperty {
                     BlockedIpRangeList = new [] { "blockedIpRangeList" },
                     SkippedIpRangeList = new [] { "skippedIpRangeList" }
                 }
             };

Remarks

Constructors

CfnUserPoolRiskConfigurationAttachmentProps()

public CfnUserPoolRiskConfigurationAttachmentProps()

Properties

AccountTakeoverRiskConfiguration

The account takeover risk configuration object, including the NotifyConfiguration object and Actions to take if there is an account takeover.

public object? AccountTakeoverRiskConfiguration { get; set; }

Property Value

object

Remarks

ClientId

The app client ID.

public string ClientId { get; set; }

Property Value

string

Remarks

You can specify the risk configuration for a single client (with a specific ClientId) or for all clients (by setting the ClientId to ALL ).

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cognito-userpoolriskconfigurationattachment.html#cfn-cognito-userpoolriskconfigurationattachment-clientid

CompromisedCredentialsRiskConfiguration

The compromised credentials risk configuration object, including the EventFilter and the EventAction .

public object? CompromisedCredentialsRiskConfiguration { get; set; }

Property Value

object

Remarks

RiskExceptionConfiguration

The configuration to override the risk decision.

public object? RiskExceptionConfiguration { get; set; }

Property Value

object

Remarks

UserPoolId

The user pool ID.

public string UserPoolId { get; set; }

Property Value

string

Remarks