Interface CfnUserPool.PoliciesProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnUserPool.PoliciesProperty.Jsii$Proxy
- Enclosing class:
CfnUserPool
@Stability(Stable)
public static interface CfnUserPool.PoliciesProperty
extends software.amazon.jsii.JsiiSerializable
A list of user pool policies. Contains the policy that sets password-complexity requirements.
This data type is a request and response parameter of CreateUserPool and UpdateUserPool , and a response parameter of 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.*; PoliciesProperty policiesProperty = PoliciesProperty.builder() .passwordPolicy(PasswordPolicyProperty.builder() .minimumLength(123) .passwordHistorySize(123) .requireLowercase(false) .requireNumbers(false) .requireSymbols(false) .requireUppercase(false) .temporaryPasswordValidityDays(123) .build()) .build();
- See Also:
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCfnUserPool.PoliciesProperty
static final class
An implementation forCfnUserPool.PoliciesProperty
-
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getPasswordPolicy
The password policy settings for a user pool, including complexity, history, and length requirements.- See Also:
-
builder
-