@Stability(value=Stable) public static final class CfnUserPoolRiskConfigurationAttachment.AccountTakeoverActionTypeProperty.Builder extends Object implements software.amazon.jsii.Builder<CfnUserPoolRiskConfigurationAttachment.AccountTakeoverActionTypeProperty>
| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CfnUserPoolRiskConfigurationAttachment.AccountTakeoverActionTypeProperty |
build()
Builds the configured instance.
|
CfnUserPoolRiskConfigurationAttachment.AccountTakeoverActionTypeProperty.Builder |
eventAction(String eventAction)
|
CfnUserPoolRiskConfigurationAttachment.AccountTakeoverActionTypeProperty.Builder |
notify(Boolean notify)
|
CfnUserPoolRiskConfigurationAttachment.AccountTakeoverActionTypeProperty.Builder |
notify(IResolvable notify)
|
@Stability(value=Stable) public CfnUserPoolRiskConfigurationAttachment.AccountTakeoverActionTypeProperty.Builder eventAction(String eventAction)
CfnUserPoolRiskConfigurationAttachment.AccountTakeoverActionTypeProperty.getEventAction()eventAction - The action to take in response to the account takeover action. Valid values are as follows:. This parameter is required.
BLOCK Choosing this action will block the request.MFA_IF_CONFIGURED Present an MFA challenge if user has configured it, else allow the request.MFA_REQUIRED Present an MFA challenge if user has configured it, else block the request.NO_ACTION Allow the user to sign in.this@Stability(value=Stable) public CfnUserPoolRiskConfigurationAttachment.AccountTakeoverActionTypeProperty.Builder notify(Boolean notify)
CfnUserPoolRiskConfigurationAttachment.AccountTakeoverActionTypeProperty.getNotify()notify - Flag specifying whether to send a notification. This parameter is required.this@Stability(value=Stable) public CfnUserPoolRiskConfigurationAttachment.AccountTakeoverActionTypeProperty.Builder notify(IResolvable notify)
CfnUserPoolRiskConfigurationAttachment.AccountTakeoverActionTypeProperty.getNotify()notify - Flag specifying whether to send a notification. This parameter is required.this@Stability(value=Stable) public CfnUserPoolRiskConfigurationAttachment.AccountTakeoverActionTypeProperty build()
build in interface software.amazon.jsii.Builder<CfnUserPoolRiskConfigurationAttachment.AccountTakeoverActionTypeProperty>CfnUserPoolRiskConfigurationAttachment.AccountTakeoverActionTypePropertyNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.