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
Modifier and TypeInterfaceDescriptionstatic final class
static final class
An 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:.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.
- See Also:
-
getNotify
Flag specifying whether to send a notification.- See Also:
-
builder
@Stability(Stable) static CfnUserPoolRiskConfigurationAttachment.AccountTakeoverActionTypeProperty.Builder builder()
-