Class CfnUserPoolRiskConfigurationAttachmentPropsMixin
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.mixins.preview.core.Mixin
software.amazon.awscdk.mixins.preview.services.cognito.mixins.CfnUserPoolRiskConfigurationAttachmentPropsMixin
- All Implemented Interfaces:
IMixin,software.amazon.jsii.JsiiSerializable
@Generated(value="jsii-pacmak/1.121.0 (build d7af9b9)",
date="2025-12-18T18:20:24.210Z")
@Stability(Stable)
public class CfnUserPoolRiskConfigurationAttachmentPropsMixin
extends Mixin
implements IMixin
The
AWS::Cognito::UserPoolRiskConfigurationAttachment resource sets the risk configuration that is used for Amazon Cognito advanced security features.
You can specify risk configuration for a single client (with a specific clientId ) or for all clients (by setting the clientId to ALL ). If you specify ALL , the default configuration is used for every client that has had no risk configuration set previously. If you specify risk configuration for a particular client, it no longer falls back to the ALL configuration.
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.mixins.*;
import software.amazon.awscdk.mixins.preview.services.cognito.mixins.*;
CfnUserPoolRiskConfigurationAttachmentPropsMixin cfnUserPoolRiskConfigurationAttachmentPropsMixin = CfnUserPoolRiskConfigurationAttachmentPropsMixin.Builder.create(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())
.strategy(PropertyMergeStrategy.OVERRIDE)
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceA list of account-takeover actions for each level of risk that Amazon Cognito might assess with advanced security features.static interfaceThe automated response to a risk level for adaptive authentication in full-function, orENFORCED, mode.static interfaceThe settings for automated responses and notification templates for adaptive authentication with advanced security features.static final classA fluent builder forCfnUserPoolRiskConfigurationAttachmentPropsMixin.static interfaceSettings for user pool actions when Amazon Cognito detects compromised credentials with advanced security features in full-functionENFORCEDmode.static interfaceCfnUserPoolRiskConfigurationAttachmentPropsMixin.CompromisedCredentialsRiskConfigurationTypePropertySettings for compromised-credentials actions and authentication-event sources with advanced security features in full-functionENFORCEDmode.static interfaceThe configuration for Amazon SES email messages that advanced security features sends to a user when your adaptive authentication automated response has a Notify action.static interfaceThe template for email messages that advanced security features sends to a user when your threat protection automated response has a Notify action.static interfaceExceptions to the risk evaluation configuration, including always-allow and always-block IP address ranges.Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.amazon.awscdk.mixins.preview.core.IMixin
IMixin.Jsii$Default, IMixin.Jsii$Proxy -
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionCfnUserPoolRiskConfigurationAttachmentPropsMixin(CfnUserPoolRiskConfigurationAttachmentMixinProps props) Create a mixin to apply properties toAWS::Cognito::UserPoolRiskConfigurationAttachment.CfnUserPoolRiskConfigurationAttachmentPropsMixin(CfnUserPoolRiskConfigurationAttachmentMixinProps props, CfnPropertyMixinOptions options) Create a mixin to apply properties toAWS::Cognito::UserPoolRiskConfigurationAttachment.protectedCfnUserPoolRiskConfigurationAttachmentPropsMixin(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedCfnUserPoolRiskConfigurationAttachmentPropsMixin(software.amazon.jsii.JsiiObjectRef objRef) -
Method Summary
Modifier and TypeMethodDescriptionsoftware.constructs.IConstructapplyTo(software.constructs.IConstruct construct) Apply the mixin properties to the construct.getProps()protected PropertyMergeStrategysupports(software.constructs.IConstruct construct) Check if this mixin supports the given construct.Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Field Details
-
CFN_PROPERTY_KEYS
-
-
Constructor Details
-
CfnUserPoolRiskConfigurationAttachmentPropsMixin
protected CfnUserPoolRiskConfigurationAttachmentPropsMixin(software.amazon.jsii.JsiiObjectRef objRef) -
CfnUserPoolRiskConfigurationAttachmentPropsMixin
protected CfnUserPoolRiskConfigurationAttachmentPropsMixin(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
CfnUserPoolRiskConfigurationAttachmentPropsMixin
@Stability(Stable) public CfnUserPoolRiskConfigurationAttachmentPropsMixin(@NotNull CfnUserPoolRiskConfigurationAttachmentMixinProps props, @Nullable CfnPropertyMixinOptions options) Create a mixin to apply properties toAWS::Cognito::UserPoolRiskConfigurationAttachment.- Parameters:
props- L1 properties to apply. This parameter is required.options- Mixin options.
-
CfnUserPoolRiskConfigurationAttachmentPropsMixin
@Stability(Stable) public CfnUserPoolRiskConfigurationAttachmentPropsMixin(@NotNull CfnUserPoolRiskConfigurationAttachmentMixinProps props) Create a mixin to apply properties toAWS::Cognito::UserPoolRiskConfigurationAttachment.- Parameters:
props- L1 properties to apply. This parameter is required.
-
-
Method Details
-
applyTo
@Stability(Stable) @NotNull public software.constructs.IConstruct applyTo(@NotNull software.constructs.IConstruct construct) Apply the mixin properties to the construct. -
supports
@Stability(Stable) @NotNull public Boolean supports(@NotNull software.constructs.IConstruct construct) Check if this mixin supports the given construct. -
getProps
-
getStrategy
-