Interface CfnUserPool.IPoliciesProperty
A list of user pool policies.
Namespace: Amazon.CDK.AWS.Cognito
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface IPoliciesProperty
Syntax (vb)
Public Interface IPoliciesProperty
Remarks
Contains the policy that sets password-complexity requirements.
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Cognito;
var policiesProperty = new PoliciesProperty {
PasswordPolicy = new PasswordPolicyProperty {
MinimumLength = 123,
PasswordHistorySize = 123,
RequireLowercase = false,
RequireNumbers = false,
RequireSymbols = false,
RequireUppercase = false,
TemporaryPasswordValidityDays = 123
},
SignInPolicy = new SignInPolicyProperty {
AllowedFirstAuthFactors = new [] { "allowedFirstAuthFactors" }
}
};
Synopsis
Properties
Password |
The password policy settings for a user pool, including complexity, history, and length requirements. |
Sign |
The policy for allowed types of authentication in a user pool. |
Properties
PasswordPolicy
The password policy settings for a user pool, including complexity, history, and length requirements.
virtual object PasswordPolicy { get; }
Property Value
System.
Remarks
SignInPolicy
The policy for allowed types of authentication in a user pool.
virtual object SignInPolicy { get; }
Property Value
System.
Remarks
To activate this setting, your user pool must be in the Essentials tier or higher.