Interface CfnUserPool.SignInPolicyProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnUserPool.SignInPolicyProperty.Jsii$Proxy
- Enclosing class:
CfnUserPool
@Stability(Stable)
public static interface CfnUserPool.SignInPolicyProperty
extends software.amazon.jsii.JsiiSerializable
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.
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.*;
SignInPolicyProperty signInPolicyProperty = SignInPolicyProperty.builder()
.allowedFirstAuthFactors(List.of("allowedFirstAuthFactors"))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnUserPool.SignInPolicyPropertystatic final classAn implementation forCfnUserPool.SignInPolicyProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()The sign-in methods that a user pool supports as the first factor.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getAllowedFirstAuthFactors
The sign-in methods that a user pool supports as the first factor.You can permit users to start authentication with a standard username and password, or with other one-time password and hardware factors.
Supports values of
EMAIL_OTP,SMS_OTP,WEB_AUTHNandPASSWORD,- See Also:
-
builder
-