AWS::Cognito::UserPoolRiskConfigurationAttachmentThe `AWS::Cognito::UserPoolRiskConfigurationAttachment` resource sets the risk configuration that is used for Amazon Cognito advanced security features. You can specify risk configuration for a single client (with a specific `clientId` ) or for all clients (by setting the `clientId` to `ALL` ). If you specify `ALL` , the default configuration is used for every client that has had no risk configuration set previously. If you specify risk configuration for a particular client, it no longer falls back to the `ALL` configuration.
import { CfnUserPoolRiskConfigurationAttachment } from 'aws-cdk-lib/aws-cognito';Or use the module namespace:
import * as cognito from 'aws-cdk-lib/aws-cognito';
// cognito.CfnUserPoolRiskConfigurationAttachmentConfiguration passed to the constructor as CfnUserPoolRiskConfigurationAttachmentProps.
clientIdRequiredstringThe app client where this configuration is applied. When this parameter isn't present, the risk configuration applies to all user pool app clients that don't have client-level settings.
userPoolIdRequiredstring | IUserPoolRefThe ID of the user pool that has the risk configuration applied.
accountTakeoverRiskConfigurationOptionalIResolvable | AccountTakeoverRiskConfigurationTypePropertyThe settings for automated responses and notification templates for adaptive authentication with threat protection.
compromisedCredentialsRiskConfigurationOptionalIResolvable | CompromisedCredentialsRiskConfigurationTypePropertySettings for compromised-credentials actions and authentication types with threat protection in full-function `ENFORCED` mode.
riskExceptionConfigurationOptionalIResolvable | RiskExceptionConfigurationTypePropertyExceptions to the risk evaluation configuration, including always-allow and always-block IP address ranges.
This L1 construct maps directly to the following CloudFormation resource type.
Everything you need to know about Amazon Cognito on one page. HD quality, print-friendly.
Download Free Infographicaws-cognitoAWS::Cognito::UserPoolRiskConfigurationAttachment