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 account takeover risk configuration object, including theNotifyConfiguration
object andActions
to take if there is an account takeover.accountTakeoverRiskConfiguration
(CfnUserPoolRiskConfigurationAttachment.AccountTakeoverRiskConfigurationTypeProperty accountTakeoverRiskConfiguration) The account takeover risk configuration object, including theNotifyConfiguration
object andActions
to take if there is an account takeover.build()
The app client ID.compromisedCredentialsRiskConfiguration
(IResolvable compromisedCredentialsRiskConfiguration) The compromised credentials risk configuration object, including theEventFilter
and theEventAction
.compromisedCredentialsRiskConfiguration
(CfnUserPoolRiskConfigurationAttachment.CompromisedCredentialsRiskConfigurationTypeProperty compromisedCredentialsRiskConfiguration) The compromised credentials risk configuration object, including theEventFilter
and theEventAction
.riskExceptionConfiguration
(IResolvable riskExceptionConfiguration) The configuration to override the risk decision.riskExceptionConfiguration
(CfnUserPoolRiskConfigurationAttachment.RiskExceptionConfigurationTypeProperty riskExceptionConfiguration) The configuration to override the risk decision.userPoolId
(String userPoolId) The user pool ID.
-
Method Details
-
create
@Stability(Stable) public static CfnUserPoolRiskConfigurationAttachment.Builder create(Construct scope, String id) - Parameters:
scope
-- scope in which this resource is defined.
id
-- scoped id of the resource.
- Returns:
- a new instance of
CfnUserPoolRiskConfigurationAttachment.Builder
.
-
clientId
The app client ID.You can specify the risk configuration for a single client (with a specific ClientId) or for all clients (by setting the ClientId to
ALL
).- Parameters:
clientId
- The app client ID. This parameter is required.- Returns:
this
-
userPoolId
@Stability(Stable) public CfnUserPoolRiskConfigurationAttachment.Builder userPoolId(String userPoolId) The user pool ID.- Parameters:
userPoolId
- The user pool ID. This parameter is required.- Returns:
this
-
accountTakeoverRiskConfiguration
@Stability(Stable) public CfnUserPoolRiskConfigurationAttachment.Builder accountTakeoverRiskConfiguration(IResolvable accountTakeoverRiskConfiguration) The account takeover risk configuration object, including theNotifyConfiguration
object andActions
to take if there is an account takeover.- Parameters:
accountTakeoverRiskConfiguration
- The account takeover risk configuration object, including theNotifyConfiguration
object andActions
to take if there is an account takeover. This parameter is required.- Returns:
this
-
accountTakeoverRiskConfiguration
@Stability(Stable) public CfnUserPoolRiskConfigurationAttachment.Builder accountTakeoverRiskConfiguration(CfnUserPoolRiskConfigurationAttachment.AccountTakeoverRiskConfigurationTypeProperty accountTakeoverRiskConfiguration) The account takeover risk configuration object, including theNotifyConfiguration
object andActions
to take if there is an account takeover.- Parameters:
accountTakeoverRiskConfiguration
- The account takeover risk configuration object, including theNotifyConfiguration
object andActions
to take if there is an account takeover. This parameter is required.- Returns:
this
-
compromisedCredentialsRiskConfiguration
@Stability(Stable) public CfnUserPoolRiskConfigurationAttachment.Builder compromisedCredentialsRiskConfiguration(IResolvable compromisedCredentialsRiskConfiguration) The compromised credentials risk configuration object, including theEventFilter
and theEventAction
.- Parameters:
compromisedCredentialsRiskConfiguration
- The compromised credentials risk configuration object, including theEventFilter
and theEventAction
. This parameter is required.- Returns:
this
-
compromisedCredentialsRiskConfiguration
@Stability(Stable) public CfnUserPoolRiskConfigurationAttachment.Builder compromisedCredentialsRiskConfiguration(CfnUserPoolRiskConfigurationAttachment.CompromisedCredentialsRiskConfigurationTypeProperty compromisedCredentialsRiskConfiguration) The compromised credentials risk configuration object, including theEventFilter
and theEventAction
.- Parameters:
compromisedCredentialsRiskConfiguration
- The compromised credentials risk configuration object, including theEventFilter
and theEventAction
. This parameter is required.- Returns:
this
-
riskExceptionConfiguration
@Stability(Stable) public CfnUserPoolRiskConfigurationAttachment.Builder riskExceptionConfiguration(IResolvable riskExceptionConfiguration) The configuration to override the risk decision.- Parameters:
riskExceptionConfiguration
- The configuration to override the risk decision. This parameter is required.- Returns:
this
-
riskExceptionConfiguration
@Stability(Stable) public CfnUserPoolRiskConfigurationAttachment.Builder riskExceptionConfiguration(CfnUserPoolRiskConfigurationAttachment.RiskExceptionConfigurationTypeProperty riskExceptionConfiguration) The configuration to override the risk decision.- Parameters:
riskExceptionConfiguration
- The configuration to override the risk decision. This parameter is required.- Returns:
this
-
build
- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnUserPoolRiskConfigurationAttachment>
- Returns:
- a newly built instance of
CfnUserPoolRiskConfigurationAttachment
.
-