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.
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())
.signInPolicy(SignInPolicyProperty.builder()
.allowedFirstAuthFactors(List.of("allowedFirstAuthFactors"))
.build())
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnUserPool.PoliciesPropertystatic final classAn 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.Returns union: either
IResolvableorCfnUserPool.PasswordPolicyProperty- See Also:
-
getSignInPolicy
The policy for allowed types of authentication in a user pool.To activate this setting, your user pool must be in the Essentials tier or higher.
Returns union: either
IResolvableorCfnUserPool.SignInPolicyProperty- See Also:
-
builder
-