interface CfnUserPoolRiskConfigurationAttachmentProps
| Language | Type name | 
|---|---|
  .NET | Amazon.CDK.AWS.Cognito.CfnUserPoolRiskConfigurationAttachmentProps | 
  Java | software.amazon.awscdk.services.cognito.CfnUserPoolRiskConfigurationAttachmentProps | 
  Python | aws_cdk.aws_cognito.CfnUserPoolRiskConfigurationAttachmentProps | 
  TypeScript  | @aws-cdk/aws-cognito » CfnUserPoolRiskConfigurationAttachmentProps | 
Properties for defining a CfnUserPoolRiskConfigurationAttachment.
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 cfnUserPoolRiskConfigurationAttachmentProps: cognito.CfnUserPoolRiskConfigurationAttachmentProps = {
  clientId: 'clientId',
  userPoolId: 'userPoolId',
  // the properties below are optional
  accountTakeoverRiskConfiguration: {
    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',
    },
  },
  compromisedCredentialsRiskConfiguration: {
    actions: {
      eventAction: 'eventAction',
    },
    // the properties below are optional
    eventFilter: ['eventFilter'],
  },
  riskExceptionConfiguration: {
    blockedIpRangeList: ['blockedIpRangeList'],
    skippedIpRangeList: ['skippedIpRangeList'],
  },
};
Properties
| Name | Type | Description | 
|---|---|---|
| client | string | The app client ID. | 
| user | string | The user pool ID. | 
| account | IResolvable | Account | The account takeover risk configuration object, including the NotifyConfiguration object and Actions to take if there is an account takeover. | 
| compromised | IResolvable | Compromised | The compromised credentials risk configuration object, including the EventFilter and the EventAction . | 
| risk | IResolvable | Risk | The configuration to override the risk decision. | 
clientId
Type:
string
The app client ID.
You can specify the risk configuration for a single client (with a specific ClientId) or for all clients (by setting the ClientId to ALL ).
userPoolId
Type:
string
The user pool ID.
accountTakeoverRiskConfiguration?
Type:
IResolvable | Account
(optional)
The account takeover risk configuration object, including the NotifyConfiguration object and Actions to take if there is an account takeover.
compromisedCredentialsRiskConfiguration?
Type:
IResolvable | Compromised
(optional)
The compromised credentials risk configuration object, including the EventFilter and the EventAction .
riskExceptionConfiguration?
Type:
IResolvable | Risk
(optional)
The configuration to override the risk decision.

 .NET
 Java
 Python
 TypeScript