Interface ICfnUserPoolRiskConfigurationAttachmentProps
Properties for defining a CfnUserPoolRiskConfigurationAttachment
.
Namespace: Amazon.CDK.AWS.Cognito
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface ICfnUserPoolRiskConfigurationAttachmentProps
Syntax (vb)
Public Interface 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
Properties
AccountTakeoverRiskConfiguration | The settings for automated responses and notification templates for adaptive authentication with advanced security features. |
ClientId | The app client ID. |
CompromisedCredentialsRiskConfiguration | Settings for compromised-credentials actions and authentication types with advanced security features in full-function |
RiskExceptionConfiguration | Exceptions to the risk evaluation configuration, including always-allow and always-block IP address ranges. |
UserPoolId | The ID of the user pool that has the risk configuration applied. |
Properties
AccountTakeoverRiskConfiguration
The settings for automated responses and notification templates for adaptive authentication with advanced security features.
virtual object AccountTakeoverRiskConfiguration { get; }
Property Value
System.Object
Remarks
ClientId
The app client ID.
string ClientId { get; }
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
Settings for compromised-credentials actions and authentication types with advanced security features in full-function ENFORCED
mode.
virtual object CompromisedCredentialsRiskConfiguration { get; }
Property Value
System.Object
Remarks
RiskExceptionConfiguration
Exceptions to the risk evaluation configuration, including always-allow and always-block IP address ranges.
virtual object RiskExceptionConfiguration { get; }
Property Value
System.Object
Remarks
UserPoolId
The ID of the user pool that has the risk configuration applied.
string UserPoolId { get; }
Property Value
System.String