You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Class: Aws::CognitoIdentityProvider::Types::AccountTakeoverActionType
- Inherits:
-
Struct
- Object
- Struct
- Aws::CognitoIdentityProvider::Types::AccountTakeoverActionType
- Defined in:
- (unknown)
Overview
Note:
When passing AccountTakeoverActionType as input to an Aws::Client method, you can use a vanilla Hash:
{
notify: false, # required
event_action: "BLOCK", # required, accepts BLOCK, MFA_IF_CONFIGURED, MFA_REQUIRED, NO_ACTION
}
Account takeover action type.
Returned by:
Instance Attribute Summary collapse
-
#event_action ⇒ String
The event action.
-
#notify ⇒ Boolean
Flag specifying whether to send a notification.
Instance Attribute Details
#event_action ⇒ String
The event action.
BLOCK
Choosing this action will block the request.MFA_IF_CONFIGURED
Throw MFA challenge if user has configured it, else allow the request.MFA_REQUIRED
Throw MFA challenge if user has configured it, else block the request.NO_ACTION
Allow the user sign-in.Possible values:
- BLOCK
- MFA_IF_CONFIGURED
- MFA_REQUIRED
- NO_ACTION
#notify ⇒ Boolean
Flag specifying whether to send a notification.