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
show all
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

Instance Attribute Details

#event_actionString

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

Returns:

  • (String)

    The event action.

#notifyBoolean

Flag specifying whether to send a notification.

Returns:

  • (Boolean)

    Flag specifying whether to send a notification.