Class: Aws::CognitoIdentityProvider::Types::AccountTakeoverActionType

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-cognitoidentityprovider/types.rb

Overview

Account takeover action type.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#event_actionString

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.

Returns:

  • (String)


50
51
52
53
54
55
# File 'lib/aws-sdk-cognitoidentityprovider/types.rb', line 50

class AccountTakeoverActionType < Struct.new(
  :notify,
  :event_action)
  SENSITIVE = []
  include Aws::Structure
end

#notifyBoolean

Flag specifying whether to send a notification.

Returns:

  • (Boolean)


50
51
52
53
54
55
# File 'lib/aws-sdk-cognitoidentityprovider/types.rb', line 50

class AccountTakeoverActionType < Struct.new(
  :notify,
  :event_action)
  SENSITIVE = []
  include Aws::Structure
end