Skip to content
v2.274.0

UserPoolAddOnsProperty Struct ​

User pool add-ons.

Contains settings for activation of threat protection. To log user security information but take no action, set to AUDIT . To configure automatic security responses to risky traffic to your user pool, set to ENFORCED .

For more information, see Adding advanced security to a user pool . To activate this setting, your user pool must be on the Plus tier .

Example ​

ts
// 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 userPoolAddOnsProperty: cognito.CfnUserPool.UserPoolAddOnsProperty = {
  advancedSecurityAdditionalFlows: {
    customAuthMode: 'customAuthMode',
  },
  advancedSecurityMode: 'advancedSecurityMode',
};

Properties ​

advancedSecurityAdditionalFlowsIResolvable | CfnUserPool.AdvancedSecurityAdditionalFlowsPropertyadvanced_security_additional_flowstyping.Union[IResolvable, AdvancedSecurityAdditionalFlowsProperty]advancedSecurityAdditionalFlowsIResolvableAdvancedSecurityAdditionalFlowsIResolvableAdvancedSecurityAdditionalFlowsinterface{}#
Threat protection configuration options for additional authentication types in your user pool, including custom authentication.
advancedSecurityModestringadvanced_security_modestradvancedSecurityModeStringAdvancedSecurityModestringAdvancedSecurityMode*string#
The operating mode of threat protection for standard authentication types in your user pool, including username-password and secure remote password (SRP) authentication.