Interface CfnUserPool.UserPoolAddOnsProperty

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnUserPool.UserPoolAddOnsProperty.Jsii$Proxy
Enclosing class:
CfnUserPool

@Stability(Stable) public static interface CfnUserPool.UserPoolAddOnsProperty extends software.amazon.jsii.JsiiSerializable
Contains settings for activation of threat protection, including the operating mode and additional authentication types.

To log user security information but take no action, set to AUDIT . To configure automatic security responses to potentially unwanted 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 .

This data type is a request and response parameter of API_CreateUserPool and API_UpdateUserPool , and a response parameter of API_DescribeUserPool .

Example:

 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 import software.amazon.awscdk.services.cognito.*;
 UserPoolAddOnsProperty userPoolAddOnsProperty = UserPoolAddOnsProperty.builder()
         .advancedSecurityAdditionalFlows(AdvancedSecurityAdditionalFlowsProperty.builder()
                 .customAuthMode("customAuthMode")
                 .build())
         .advancedSecurityMode("advancedSecurityMode")
         .build();
 

See Also: