Interface CfnUserPoolRiskConfigurationAttachmentProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnUserPoolRiskConfigurationAttachmentProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.119.0 (build 1634eac)",
date="2025-11-13T16:10:01.555Z")
@Stability(Stable)
public interface CfnUserPoolRiskConfigurationAttachmentProps
extends software.amazon.jsii.JsiiSerializable
Properties for defining a
CfnUserPoolRiskConfigurationAttachment.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.cognito.*;
CfnUserPoolRiskConfigurationAttachmentProps cfnUserPoolRiskConfigurationAttachmentProps = CfnUserPoolRiskConfigurationAttachmentProps.builder()
.clientId("clientId")
.userPoolId("userPoolId")
// the properties below are optional
.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())
// the properties below are optional
.notifyConfiguration(NotifyConfigurationTypeProperty.builder()
.sourceArn("sourceArn")
// the properties below are optional
.blockEmail(NotifyEmailTypeProperty.builder()
.subject("subject")
// the properties below are optional
.htmlBody("htmlBody")
.textBody("textBody")
.build())
.from("from")
.mfaEmail(NotifyEmailTypeProperty.builder()
.subject("subject")
// the properties below are optional
.htmlBody("htmlBody")
.textBody("textBody")
.build())
.noActionEmail(NotifyEmailTypeProperty.builder()
.subject("subject")
// the properties below are optional
.htmlBody("htmlBody")
.textBody("textBody")
.build())
.replyTo("replyTo")
.build())
.build())
.compromisedCredentialsRiskConfiguration(CompromisedCredentialsRiskConfigurationTypeProperty.builder()
.actions(CompromisedCredentialsActionsTypeProperty.builder()
.eventAction("eventAction")
.build())
// the properties below are optional
.eventFilter(List.of("eventFilter"))
.build())
.riskExceptionConfiguration(RiskExceptionConfigurationTypeProperty.builder()
.blockedIpRangeList(List.of("blockedIpRangeList"))
.skippedIpRangeList(List.of("skippedIpRangeList"))
.build())
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnUserPoolRiskConfigurationAttachmentPropsstatic final classAn implementation forCfnUserPoolRiskConfigurationAttachmentProps -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default ObjectThe settings for automated responses and notification templates for adaptive authentication with threat protection.The 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.The ID of the user pool that has the risk configuration applied.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
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:
-
getUserPoolId
The ID of the user pool that has the risk configuration applied.- See Also:
-
getAccountTakeoverRiskConfiguration
The settings for automated responses and notification templates for adaptive authentication with threat protection.Returns union: either
IResolvableorCfnUserPoolRiskConfigurationAttachment.AccountTakeoverRiskConfigurationTypeProperty- See Also:
-
getCompromisedCredentialsRiskConfiguration
Settings for compromised-credentials actions and authentication types with threat protection in full-functionENFORCEDmode.Returns union: either
IResolvableorCfnUserPoolRiskConfigurationAttachment.CompromisedCredentialsRiskConfigurationTypeProperty- See Also:
-
getRiskExceptionConfiguration
Exceptions to the risk evaluation configuration, including always-allow and always-block IP address ranges.Returns union: either
IResolvableorCfnUserPoolRiskConfigurationAttachment.RiskExceptionConfigurationTypeProperty- See Also:
-
builder
-