Show / Hide Table of Contents

Interface CfnUserPool.IPoliciesProperty

A list of user pool policies.

Namespace: Amazon.CDK.AWS.Cognito
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface CfnUserPool.IPoliciesProperty
Syntax (vb)
Public Interface CfnUserPool.IPoliciesProperty
Remarks

Contains the policy that sets password-complexity requirements.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cognito-userpool-policies.html

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

PasswordPolicy

The password policy settings for a user pool, including complexity, history, and length requirements.

SignInPolicy

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.

object? PasswordPolicy { get; }
Property Value

object

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cognito-userpool-policies.html#cfn-cognito-userpool-policies-passwordpolicy

SignInPolicy

The policy for allowed types of authentication in a user pool.

object? SignInPolicy { get; }
Property Value

object

Remarks

To activate this setting, your user pool must be in the Essentials tier or higher.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cognito-userpool-policies.html#cfn-cognito-userpool-policies-signinpolicy

Back to top Generated by DocFX