interface AccountTakeoverRiskConfigurationTypeProperty
| Language | Type name | 
|---|---|
|  .NET | Amazon.CDK.AWS.Cognito.CfnUserPoolRiskConfigurationAttachment.AccountTakeoverRiskConfigurationTypeProperty | 
|  Go | github.com/aws/aws-cdk-go/awscdk/v2/awscognito#CfnUserPoolRiskConfigurationAttachment_AccountTakeoverRiskConfigurationTypeProperty | 
|  Java | software.amazon.awscdk.services.cognito.CfnUserPoolRiskConfigurationAttachment.AccountTakeoverRiskConfigurationTypeProperty | 
|  Python | aws_cdk.aws_cognito.CfnUserPoolRiskConfigurationAttachment.AccountTakeoverRiskConfigurationTypeProperty | 
|  TypeScript | aws-cdk-lib»aws_cognito»CfnUserPoolRiskConfigurationAttachment»AccountTakeoverRiskConfigurationTypeProperty | 
The settings for automated responses and notification templates for adaptive authentication with advanced security features.
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 accountTakeoverRiskConfigurationTypeProperty: cognito.CfnUserPoolRiskConfigurationAttachment.AccountTakeoverRiskConfigurationTypeProperty = {
  actions: {
    highAction: {
      eventAction: 'eventAction',
      notify: false,
    },
    lowAction: {
      eventAction: 'eventAction',
      notify: false,
    },
    mediumAction: {
      eventAction: 'eventAction',
      notify: false,
    },
  },
  // the properties below are optional
  notifyConfiguration: {
    sourceArn: 'sourceArn',
    // the properties below are optional
    blockEmail: {
      subject: 'subject',
      // the properties below are optional
      htmlBody: 'htmlBody',
      textBody: 'textBody',
    },
    from: 'from',
    mfaEmail: {
      subject: 'subject',
      // the properties below are optional
      htmlBody: 'htmlBody',
      textBody: 'textBody',
    },
    noActionEmail: {
      subject: 'subject',
      // the properties below are optional
      htmlBody: 'htmlBody',
      textBody: 'textBody',
    },
    replyTo: 'replyTo',
  },
};
Properties
| Name | Type | Description | 
|---|---|---|
| actions | IResolvable | Account | A list of account-takeover actions for each level of risk that Amazon Cognito might assess with threat protection. | 
| notify | IResolvable | Notify | The settings for composing and sending an email message when threat protection assesses a risk level with adaptive authentication. | 
actions
Type:
IResolvable | Account
A list of account-takeover actions for each level of risk that Amazon Cognito might assess with threat protection.
notifyConfiguration?
Type:
IResolvable | Notify
(optional)
The settings for composing and sending an email message when threat protection assesses a risk level with adaptive authentication.
When you choose to notify users in AccountTakeoverRiskConfiguration , Amazon Cognito sends an email message using the method and template that you set with this data type.
