Class CfnUserPoolRiskConfigurationAttachment.Builder
java.lang.Object
software.amazon.awscdk.services.cognito.CfnUserPoolRiskConfigurationAttachment.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnUserPoolRiskConfigurationAttachment>
- Enclosing class:
CfnUserPoolRiskConfigurationAttachment
@Stability(Stable)
public static final class CfnUserPoolRiskConfigurationAttachment.Builder
extends Object
implements software.amazon.jsii.Builder<CfnUserPoolRiskConfigurationAttachment>
A fluent builder for
CfnUserPoolRiskConfigurationAttachment.-
Method Summary
Modifier and TypeMethodDescriptionaccountTakeoverRiskConfiguration(IResolvable accountTakeoverRiskConfiguration) The settings for automated responses and notification templates for adaptive authentication with threat protection.accountTakeoverRiskConfiguration(CfnUserPoolRiskConfigurationAttachment.AccountTakeoverRiskConfigurationTypeProperty 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(IResolvable compromisedCredentialsRiskConfiguration) Settings for compromised-credentials actions and authentication types with threat protection in full-functionENFORCEDmode.compromisedCredentialsRiskConfiguration(CfnUserPoolRiskConfigurationAttachment.CompromisedCredentialsRiskConfigurationTypeProperty compromisedCredentialsRiskConfiguration) Settings for compromised-credentials actions and authentication types with threat protection in full-functionENFORCEDmode.riskExceptionConfiguration(IResolvable riskExceptionConfiguration) Exceptions to the risk evaluation configuration, including always-allow and always-block IP address ranges.riskExceptionConfiguration(CfnUserPoolRiskConfigurationAttachment.RiskExceptionConfigurationTypeProperty 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.
-
Method Details
-
create
@Stability(Stable) public static CfnUserPoolRiskConfigurationAttachment.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope- Scope in which this resource is defined. This parameter is required.id- Construct identifier for this resource (unique in its scope). This parameter is required.- Returns:
- a new instance of
CfnUserPoolRiskConfigurationAttachment.Builder.
-
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:
-
userPoolId
@Stability(Stable) public CfnUserPoolRiskConfigurationAttachment.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:
-
accountTakeoverRiskConfiguration
@Stability(Stable) public CfnUserPoolRiskConfigurationAttachment.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 CfnUserPoolRiskConfigurationAttachment.Builder accountTakeoverRiskConfiguration(CfnUserPoolRiskConfigurationAttachment.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:
-
compromisedCredentialsRiskConfiguration
@Stability(Stable) public CfnUserPoolRiskConfigurationAttachment.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 CfnUserPoolRiskConfigurationAttachment.Builder compromisedCredentialsRiskConfiguration(CfnUserPoolRiskConfigurationAttachment.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 CfnUserPoolRiskConfigurationAttachment.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 CfnUserPoolRiskConfigurationAttachment.Builder riskExceptionConfiguration(CfnUserPoolRiskConfigurationAttachment.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:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnUserPoolRiskConfigurationAttachment>- Returns:
- a newly built instance of
CfnUserPoolRiskConfigurationAttachment.
-