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:
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCfnUserPool.UserPoolAddOnsProperty
static final class
An implementation forCfnUserPool.UserPoolAddOnsProperty
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
default Object
Threat protection configuration options for additional authentication types in your user pool, including custom authentication.default String
The operating mode of threat protection for standard authentication types in your user pool, including username-password and secure remote password (SRP) authentication.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getAdvancedSecurityAdditionalFlows
Threat protection configuration options for additional authentication types in your user pool, including custom authentication.- See Also:
-
getAdvancedSecurityMode
The operating mode of threat protection for standard authentication types in your user pool, including username-password and secure remote password (SRP) authentication.- See Also:
-
builder
-