aws-cdk-lib.aws_cognito.CfnUserPoolRiskConfigurationAttachment.AccountTakeoverRiskConfigurationTypeProperty

interface AccountTakeoverRiskConfigurationTypeProperty

LanguageType name
.NETAmazon.CDK.AWS.Cognito.CfnUserPoolRiskConfigurationAttachment.AccountTakeoverRiskConfigurationTypeProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awscognito#CfnUserPoolRiskConfigurationAttachment_AccountTakeoverRiskConfigurationTypeProperty
Javasoftware.amazon.awscdk.services.cognito.CfnUserPoolRiskConfigurationAttachment.AccountTakeoverRiskConfigurationTypeProperty
Pythonaws_cdk.aws_cognito.CfnUserPoolRiskConfigurationAttachment.AccountTakeoverRiskConfigurationTypeProperty
TypeScript aws-cdk-lib » aws_cognito » CfnUserPoolRiskConfigurationAttachment » AccountTakeoverRiskConfigurationTypeProperty

Configuration for mitigation actions and notification for different levels of risk detected for a potential account takeover.

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

NameTypeDescription
actionsIResolvable | AccountTakeoverActionsTypePropertyAccount takeover risk configuration actions.
notifyConfiguration?IResolvable | NotifyConfigurationTypePropertyThe notify configuration used to construct email notifications.

actions

Type: IResolvable | AccountTakeoverActionsTypeProperty

Account takeover risk configuration actions.


notifyConfiguration?

Type: IResolvable | NotifyConfigurationTypeProperty (optional)

The notify configuration used to construct email notifications.