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 advanced security features.accountTakeoverRiskConfiguration
(CfnUserPoolRiskConfigurationAttachment.AccountTakeoverRiskConfigurationTypeProperty accountTakeoverRiskConfiguration) The settings for automated responses and notification templates for adaptive authentication with advanced security features.build()
The app client where this configuration is applied.compromisedCredentialsRiskConfiguration
(IResolvable compromisedCredentialsRiskConfiguration) Settings for compromised-credentials actions and authentication types with advanced security features in full-functionENFORCED
mode.compromisedCredentialsRiskConfiguration
(CfnUserPoolRiskConfigurationAttachment.CompromisedCredentialsRiskConfigurationTypeProperty compromisedCredentialsRiskConfiguration) Settings for compromised-credentials actions and authentication types with advanced security features in full-functionENFORCED
mode.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 advanced security features.- Parameters:
accountTakeoverRiskConfiguration
- The settings for automated responses and notification templates for adaptive authentication with advanced security features. 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 advanced security features.- Parameters:
accountTakeoverRiskConfiguration
- The settings for automated responses and notification templates for adaptive authentication with advanced security features. 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 advanced security features in full-functionENFORCED
mode.- Parameters:
compromisedCredentialsRiskConfiguration
- Settings for compromised-credentials actions and authentication types with advanced security features in full-functionENFORCED
mode. 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 advanced security features in full-functionENFORCED
mode.- Parameters:
compromisedCredentialsRiskConfiguration
- Settings for compromised-credentials actions and authentication types with advanced security features in full-functionENFORCED
mode. 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:
build
in interfacesoftware.amazon.jsii.Builder<CfnUserPoolRiskConfigurationAttachment>
- Returns:
- a newly built instance of
CfnUserPoolRiskConfigurationAttachment
.
-