Interface CfnUserPoolRiskConfigurationAttachment.AccountTakeoverActionTypeProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnUserPoolRiskConfigurationAttachment.AccountTakeoverActionTypeProperty.Jsii$Proxy
- Enclosing class:
CfnUserPoolRiskConfigurationAttachment
@Stability(Stable)
public static interface CfnUserPoolRiskConfigurationAttachment.AccountTakeoverActionTypeProperty
extends software.amazon.jsii.JsiiSerializable
Account takeover action type.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.cognito.*;
AccountTakeoverActionTypeProperty accountTakeoverActionTypeProperty = AccountTakeoverActionTypeProperty.builder()
.eventAction("eventAction")
.notify(false)
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classstatic final classAn implementation forCfnUserPoolRiskConfigurationAttachment.AccountTakeoverActionTypeProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()The action to take in response to the account takeover action.Flag specifying whether to send a notification.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getEventAction
The action to take in response to the account takeover action. Valid values are as follows:.BLOCKChoosing this action will block the request.MFA_IF_CONFIGUREDPresent an MFA challenge if user has configured it, else allow the request.MFA_REQUIREDPresent an MFA challenge if user has configured it, else block the request.NO_ACTIONAllow the user to sign in.
- See Also:
-
getNotify
Flag specifying whether to send a notification.- See Also:
-
builder
@Stability(Stable) static CfnUserPoolRiskConfigurationAttachment.AccountTakeoverActionTypeProperty.Builder builder()
-