Class CfnUserPoolRiskConfigurationAttachmentPropsMixin.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.cognito.CfnUserPoolRiskConfigurationAttachmentPropsMixin.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnUserPoolRiskConfigurationAttachmentPropsMixin>
- Enclosing class:
CfnUserPoolRiskConfigurationAttachmentPropsMixin
@Stability(Stable)
public static final class CfnUserPoolRiskConfigurationAttachmentPropsMixin.Builder
extends Object
implements software.amazon.jsii.Builder<CfnUserPoolRiskConfigurationAttachmentPropsMixin>
A fluent builder for
CfnUserPoolRiskConfigurationAttachmentPropsMixin.-
Method Summary
Modifier and TypeMethodDescriptionaccountTakeoverRiskConfiguration(CfnUserPoolRiskConfigurationAttachmentPropsMixin.AccountTakeoverRiskConfigurationTypeProperty accountTakeoverRiskConfiguration) The settings for automated responses and notification templates for adaptive authentication with threat protection.accountTakeoverRiskConfiguration(IResolvable accountTakeoverRiskConfiguration) The settings for automated responses and notification templates for adaptive authentication with threat protection.build()The app client where this configuration is applied.compromisedCredentialsRiskConfiguration(CfnUserPoolRiskConfigurationAttachmentPropsMixin.CompromisedCredentialsRiskConfigurationTypeProperty compromisedCredentialsRiskConfiguration) Settings for compromised-credentials actions and authentication types with threat protection in full-functionENFORCEDmode.compromisedCredentialsRiskConfiguration(IResolvable compromisedCredentialsRiskConfiguration) Settings for compromised-credentials actions and authentication types with threat protection in full-functionENFORCEDmode.create()create(CfnPropertyMixinOptions options) riskExceptionConfiguration(CfnUserPoolRiskConfigurationAttachmentPropsMixin.RiskExceptionConfigurationTypeProperty riskExceptionConfiguration) Exceptions to the risk evaluation configuration, including always-allow and always-block IP address ranges.riskExceptionConfiguration(IResolvable riskExceptionConfiguration) Exceptions to the risk evaluation configuration, including always-allow and always-block IP address ranges.userPoolId(String userPoolId) The ID of the user pool that has the risk configuration applied.userPoolId(IUserPoolRef userPoolId) The ID of the user pool that has the risk configuration applied.
-
Method Details
-
create
@Stability(Stable) public static CfnUserPoolRiskConfigurationAttachmentPropsMixin.Builder create(CfnPropertyMixinOptions options) - Parameters:
options- Mixin options.- Returns:
- a new instance of
CfnUserPoolRiskConfigurationAttachmentPropsMixin.Builder.
-
create
- Returns:
- a new instance of
CfnUserPoolRiskConfigurationAttachmentPropsMixin.Builder.
-
accountTakeoverRiskConfiguration
@Stability(Stable) public CfnUserPoolRiskConfigurationAttachmentPropsMixin.Builder accountTakeoverRiskConfiguration(IResolvable accountTakeoverRiskConfiguration) The settings for automated responses and notification templates for adaptive authentication with threat protection.- Parameters:
accountTakeoverRiskConfiguration- The settings for automated responses and notification templates for adaptive authentication with threat protection. This parameter is required.- Returns:
this- See Also:
-
accountTakeoverRiskConfiguration
@Stability(Stable) public CfnUserPoolRiskConfigurationAttachmentPropsMixin.Builder accountTakeoverRiskConfiguration(CfnUserPoolRiskConfigurationAttachmentPropsMixin.AccountTakeoverRiskConfigurationTypeProperty accountTakeoverRiskConfiguration) The settings for automated responses and notification templates for adaptive authentication with threat protection.- Parameters:
accountTakeoverRiskConfiguration- The settings for automated responses and notification templates for adaptive authentication with threat protection. This parameter is required.- Returns:
this- See Also:
-
clientId
@Stability(Stable) public CfnUserPoolRiskConfigurationAttachmentPropsMixin.Builder clientId(String clientId) 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.
- Parameters:
clientId- The app client where this configuration is applied. This parameter is required.- Returns:
this- See Also:
-
compromisedCredentialsRiskConfiguration
@Stability(Stable) public CfnUserPoolRiskConfigurationAttachmentPropsMixin.Builder compromisedCredentialsRiskConfiguration(IResolvable compromisedCredentialsRiskConfiguration) Settings for compromised-credentials actions and authentication types with threat protection in full-functionENFORCEDmode.- Parameters:
compromisedCredentialsRiskConfiguration- Settings for compromised-credentials actions and authentication types with threat protection in full-functionENFORCEDmode. This parameter is required.- Returns:
this- See Also:
-
compromisedCredentialsRiskConfiguration
@Stability(Stable) public CfnUserPoolRiskConfigurationAttachmentPropsMixin.Builder compromisedCredentialsRiskConfiguration(CfnUserPoolRiskConfigurationAttachmentPropsMixin.CompromisedCredentialsRiskConfigurationTypeProperty compromisedCredentialsRiskConfiguration) Settings for compromised-credentials actions and authentication types with threat protection in full-functionENFORCEDmode.- Parameters:
compromisedCredentialsRiskConfiguration- Settings for compromised-credentials actions and authentication types with threat protection in full-functionENFORCEDmode. This parameter is required.- Returns:
this- See Also:
-
riskExceptionConfiguration
@Stability(Stable) public CfnUserPoolRiskConfigurationAttachmentPropsMixin.Builder riskExceptionConfiguration(IResolvable riskExceptionConfiguration) Exceptions to the risk evaluation configuration, including always-allow and always-block IP address ranges.- Parameters:
riskExceptionConfiguration- Exceptions to the risk evaluation configuration, including always-allow and always-block IP address ranges. This parameter is required.- Returns:
this- See Also:
-
riskExceptionConfiguration
@Stability(Stable) public CfnUserPoolRiskConfigurationAttachmentPropsMixin.Builder riskExceptionConfiguration(CfnUserPoolRiskConfigurationAttachmentPropsMixin.RiskExceptionConfigurationTypeProperty riskExceptionConfiguration) Exceptions to the risk evaluation configuration, including always-allow and always-block IP address ranges.- Parameters:
riskExceptionConfiguration- Exceptions to the risk evaluation configuration, including always-allow and always-block IP address ranges. This parameter is required.- Returns:
this- See Also:
-
userPoolId
@Stability(Stable) public CfnUserPoolRiskConfigurationAttachmentPropsMixin.Builder userPoolId(String userPoolId) The ID of the user pool that has the risk configuration applied.- Parameters:
userPoolId- The ID of the user pool that has the risk configuration applied. This parameter is required.- Returns:
this- See Also:
-
userPoolId
@Stability(Stable) public CfnUserPoolRiskConfigurationAttachmentPropsMixin.Builder userPoolId(IUserPoolRef userPoolId) The ID of the user pool that has the risk configuration applied.- Parameters:
userPoolId- The ID of the user pool that has the risk configuration applied. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnUserPoolRiskConfigurationAttachmentPropsMixin>- Returns:
- a newly built instance of
CfnUserPoolRiskConfigurationAttachmentPropsMixin.
-