interface AccountTakeoverActionTypeProperty
| Language | Type name | 
|---|---|
|  .NET | Amazon.CDK.AWS.Cognito.CfnUserPoolRiskConfigurationAttachment.AccountTakeoverActionTypeProperty | 
|  Java | software.amazon.awscdk.services.cognito.CfnUserPoolRiskConfigurationAttachment.AccountTakeoverActionTypeProperty | 
|  Python | aws_cdk.aws_cognito.CfnUserPoolRiskConfigurationAttachment.AccountTakeoverActionTypeProperty | 
|  TypeScript | @aws-cdk/aws-cognito»CfnUserPoolRiskConfigurationAttachment»AccountTakeoverActionTypeProperty | 
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 * as cognito from '@aws-cdk/aws-cognito';
const accountTakeoverActionTypeProperty: cognito.CfnUserPoolRiskConfigurationAttachment.AccountTakeoverActionTypeProperty = {
  eventAction: 'eventAction',
  notify: false,
};
Properties
| Name | Type | Description | 
|---|---|---|
| event | string | The action to take in response to the account takeover action. Valid values are as follows:. | 
| notify | boolean | IResolvable | Flag specifying whether to send a notification. | 
eventAction
Type:
string
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.
notify
Type:
boolean | IResolvable
Flag specifying whether to send a notification.
