Interface CfnUserPoolRiskConfigurationAttachmentMixinProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnUserPoolRiskConfigurationAttachmentMixinProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.121.0 (build d7af9b9)",
date="2025-12-18T18:20:24.209Z")
@Stability(Stable)
public interface CfnUserPoolRiskConfigurationAttachmentMixinProps
extends software.amazon.jsii.JsiiSerializable
Properties for CfnUserPoolRiskConfigurationAttachmentPropsMixin.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.mixins.preview.services.cognito.mixins.*;
CfnUserPoolRiskConfigurationAttachmentMixinProps cfnUserPoolRiskConfigurationAttachmentMixinProps = CfnUserPoolRiskConfigurationAttachmentMixinProps.builder()
.accountTakeoverRiskConfiguration(AccountTakeoverRiskConfigurationTypeProperty.builder()
.actions(AccountTakeoverActionsTypeProperty.builder()
.highAction(AccountTakeoverActionTypeProperty.builder()
.eventAction("eventAction")
.notify(false)
.build())
.lowAction(AccountTakeoverActionTypeProperty.builder()
.eventAction("eventAction")
.notify(false)
.build())
.mediumAction(AccountTakeoverActionTypeProperty.builder()
.eventAction("eventAction")
.notify(false)
.build())
.build())
.notifyConfiguration(NotifyConfigurationTypeProperty.builder()
.blockEmail(NotifyEmailTypeProperty.builder()
.htmlBody("htmlBody")
.subject("subject")
.textBody("textBody")
.build())
.from("from")
.mfaEmail(NotifyEmailTypeProperty.builder()
.htmlBody("htmlBody")
.subject("subject")
.textBody("textBody")
.build())
.noActionEmail(NotifyEmailTypeProperty.builder()
.htmlBody("htmlBody")
.subject("subject")
.textBody("textBody")
.build())
.replyTo("replyTo")
.sourceArn("sourceArn")
.build())
.build())
.clientId("clientId")
.compromisedCredentialsRiskConfiguration(CompromisedCredentialsRiskConfigurationTypeProperty.builder()
.actions(CompromisedCredentialsActionsTypeProperty.builder()
.eventAction("eventAction")
.build())
.eventFilter(List.of("eventFilter"))
.build())
.riskExceptionConfiguration(RiskExceptionConfigurationTypeProperty.builder()
.blockedIpRangeList(List.of("blockedIpRangeList"))
.skippedIpRangeList(List.of("skippedIpRangeList"))
.build())
.userPoolId("userPoolId")
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnUserPoolRiskConfigurationAttachmentMixinPropsstatic final classAn implementation forCfnUserPoolRiskConfigurationAttachmentMixinProps -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default ObjectThe settings for automated responses and notification templates for adaptive authentication with threat protection.default StringThe app client where this configuration is applied.default ObjectSettings for compromised-credentials actions and authentication types with threat protection in full-functionENFORCEDmode.default ObjectExceptions to the risk evaluation configuration, including always-allow and always-block IP address ranges.default StringThe ID of the user pool that has the risk configuration applied.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getAccountTakeoverRiskConfiguration
The settings for automated responses and notification templates for adaptive authentication with threat protection.Returns union: either
IResolvableorCfnUserPoolRiskConfigurationAttachmentPropsMixin.AccountTakeoverRiskConfigurationTypeProperty- See Also:
-
getClientId
The app client where this configuration is applied.When this parameter isn't present, the risk configuration applies to all user pool app clients that don't have client-level settings.
- See Also:
-
getCompromisedCredentialsRiskConfiguration
Settings for compromised-credentials actions and authentication types with threat protection in full-functionENFORCEDmode.Returns union: either
IResolvableorCfnUserPoolRiskConfigurationAttachmentPropsMixin.CompromisedCredentialsRiskConfigurationTypeProperty- See Also:
-
getRiskExceptionConfiguration
Exceptions to the risk evaluation configuration, including always-allow and always-block IP address ranges.Returns union: either
IResolvableorCfnUserPoolRiskConfigurationAttachmentPropsMixin.RiskExceptionConfigurationTypeProperty- See Also:
-
getUserPoolId
The ID of the user pool that has the risk configuration applied.- See Also:
-
builder
-