aws-cdk-lib.aws_cognito.CfnUserPoolRiskConfigurationAttachment.AccountTakeoverActionTypeProperty

interface AccountTakeoverActionTypeProperty

LanguageType name
.NETAmazon.CDK.AWS.Cognito.CfnUserPoolRiskConfigurationAttachment.AccountTakeoverActionTypeProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awscognito#CfnUserPoolRiskConfigurationAttachment_AccountTakeoverActionTypeProperty
Javasoftware.amazon.awscdk.services.cognito.CfnUserPoolRiskConfigurationAttachment.AccountTakeoverActionTypeProperty
Pythonaws_cdk.aws_cognito.CfnUserPoolRiskConfigurationAttachment.AccountTakeoverActionTypeProperty
TypeScript aws-cdk-lib » 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 { aws_cognito as cognito } from 'aws-cdk-lib';
const accountTakeoverActionTypeProperty: cognito.CfnUserPoolRiskConfigurationAttachment.AccountTakeoverActionTypeProperty = {
  eventAction: 'eventAction',
  notify: false,
};

Properties

NameTypeDescription
eventActionstringThe action to take in response to the account takeover action. Valid values are as follows:.
notifyboolean | IResolvableFlag 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:.

  • 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.

notify

Type: boolean | IResolvable

Flag specifying whether to send a notification.