Class CfnUserPoolRiskConfigurationAttachmentMixinProps
Properties for CfnUserPoolRiskConfigurationAttachmentPropsMixin.
Inherited Members
Namespace: Amazon.CDK.CfnPropertyMixins.AWS.Cognito
Assembly: Amazon.CDK.CfnPropertyMixins.dll
Syntax (csharp)
public class CfnUserPoolRiskConfigurationAttachmentMixinProps : ICfnUserPoolRiskConfigurationAttachmentMixinProps
Syntax (vb)
Public Class CfnUserPoolRiskConfigurationAttachmentMixinProps Implements ICfnUserPoolRiskConfigurationAttachmentMixinProps
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.CfnPropertyMixins.AWS.Cognito;
var cfnUserPoolRiskConfigurationAttachmentMixinProps = new CfnUserPoolRiskConfigurationAttachmentMixinProps {
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
}
},
NotifyConfiguration = new NotifyConfigurationTypeProperty {
BlockEmail = new NotifyEmailTypeProperty {
HtmlBody = "htmlBody",
Subject = "subject",
TextBody = "textBody"
},
From = "from",
MfaEmail = new NotifyEmailTypeProperty {
HtmlBody = "htmlBody",
Subject = "subject",
TextBody = "textBody"
},
NoActionEmail = new NotifyEmailTypeProperty {
HtmlBody = "htmlBody",
Subject = "subject",
TextBody = "textBody"
},
ReplyTo = "replyTo",
SourceArn = "sourceArn"
}
},
ClientId = "clientId",
CompromisedCredentialsRiskConfiguration = new CompromisedCredentialsRiskConfigurationTypeProperty {
Actions = new CompromisedCredentialsActionsTypeProperty {
EventAction = "eventAction"
},
EventFilter = new [] { "eventFilter" }
},
RiskExceptionConfiguration = new RiskExceptionConfigurationTypeProperty {
BlockedIpRangeList = new [] { "blockedIpRangeList" },
SkippedIpRangeList = new [] { "skippedIpRangeList" }
},
UserPoolId = "userPoolId"
};
Synopsis
Constructors
| CfnUserPoolRiskConfigurationAttachmentMixinProps() | Properties for CfnUserPoolRiskConfigurationAttachmentPropsMixin. |
Properties
| AccountTakeoverRiskConfiguration | The settings for automated responses and notification templates for adaptive authentication with threat protection. |
| ClientId | The app client where this configuration is applied. |
| CompromisedCredentialsRiskConfiguration | Settings for compromised-credentials actions and authentication types with threat protection 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. |
Constructors
CfnUserPoolRiskConfigurationAttachmentMixinProps()
Properties for CfnUserPoolRiskConfigurationAttachmentPropsMixin.
public CfnUserPoolRiskConfigurationAttachmentMixinProps()
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.CfnPropertyMixins.AWS.Cognito;
var cfnUserPoolRiskConfigurationAttachmentMixinProps = new CfnUserPoolRiskConfigurationAttachmentMixinProps {
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
}
},
NotifyConfiguration = new NotifyConfigurationTypeProperty {
BlockEmail = new NotifyEmailTypeProperty {
HtmlBody = "htmlBody",
Subject = "subject",
TextBody = "textBody"
},
From = "from",
MfaEmail = new NotifyEmailTypeProperty {
HtmlBody = "htmlBody",
Subject = "subject",
TextBody = "textBody"
},
NoActionEmail = new NotifyEmailTypeProperty {
HtmlBody = "htmlBody",
Subject = "subject",
TextBody = "textBody"
},
ReplyTo = "replyTo",
SourceArn = "sourceArn"
}
},
ClientId = "clientId",
CompromisedCredentialsRiskConfiguration = new CompromisedCredentialsRiskConfigurationTypeProperty {
Actions = new CompromisedCredentialsActionsTypeProperty {
EventAction = "eventAction"
},
EventFilter = new [] { "eventFilter" }
},
RiskExceptionConfiguration = new RiskExceptionConfigurationTypeProperty {
BlockedIpRangeList = new [] { "blockedIpRangeList" },
SkippedIpRangeList = new [] { "skippedIpRangeList" }
},
UserPoolId = "userPoolId"
};
Properties
AccountTakeoverRiskConfiguration
The settings for automated responses and notification templates for adaptive authentication with threat protection.
public object? AccountTakeoverRiskConfiguration { get; set; }
Property Value
Remarks
ClientId
The app client where this configuration is applied.
public string? ClientId { get; set; }
Property Value
Remarks
When this parameter isn't present, the risk configuration applies to all user pool app clients that don't have client-level settings.
CompromisedCredentialsRiskConfiguration
Settings for compromised-credentials actions and authentication types with threat protection in full-function ENFORCED mode.
public object? CompromisedCredentialsRiskConfiguration { get; set; }
Property Value
Remarks
RiskExceptionConfiguration
Exceptions to the risk evaluation configuration, including always-allow and always-block IP address ranges.
public object? RiskExceptionConfiguration { get; set; }
Property Value
Remarks
UserPoolId
The ID of the user pool that has the risk configuration applied.
public object? UserPoolId { get; set; }