interface AccountTakeoverActionTypeProperty
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.Cognito.CfnUserPoolRiskConfigurationAttachment.AccountTakeoverActionTypeProperty |
![]() | software.amazon.awscdk.services.cognito.CfnUserPoolRiskConfigurationAttachment.AccountTakeoverActionTypeProperty |
![]() | aws_cdk.aws_cognito.CfnUserPoolRiskConfigurationAttachment.AccountTakeoverActionTypeProperty |
![]() | @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:.
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.