Class CfnUserPoolRiskConfigurationAttachmentProps
Properties for defining a CfnUserPoolRiskConfigurationAttachment
.
Inheritance
Implements
Namespace: Amazon.CDK.AWS.Cognito
Assembly: Amazon.CDK.AWS.Cognito.dll
Syntax (csharp)
public class CfnUserPoolRiskConfigurationAttachmentProps : Object, ICfnUserPoolRiskConfigurationAttachmentProps
Syntax (vb)
Public Class CfnUserPoolRiskConfigurationAttachmentProps
Inherits Object
Implements ICfnUserPoolRiskConfigurationAttachmentProps
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 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" }
}
};
Synopsis
Constructors
CfnUserPoolRiskConfigurationAttachmentProps() |
Properties
AccountTakeoverRiskConfiguration | The account takeover risk configuration object, including the |
ClientId | The app client ID. |
CompromisedCredentialsRiskConfiguration | The compromised credentials risk configuration object, including the |
RiskExceptionConfiguration | The configuration to override the risk decision. |
UserPoolId | The user pool ID. |
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
System.Object
Remarks
ClientId
The app client ID.
public string ClientId { get; set; }
Property Value
System.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
).
CompromisedCredentialsRiskConfiguration
The compromised credentials risk configuration object, including the EventFilter
and the EventAction
.
public object CompromisedCredentialsRiskConfiguration { get; set; }
Property Value
System.Object
Remarks
RiskExceptionConfiguration
The configuration to override the risk decision.
public object RiskExceptionConfiguration { get; set; }
Property Value
System.Object
Remarks
UserPoolId
The user pool ID.
public string UserPoolId { get; set; }
Property Value
System.String