Table of Contents

Interface CfnUserPool.IUsernameConfigurationProperty

Namespace
Amazon.CDK.AWS.Cognito
Assembly
Amazon.CDK.AWS.Cognito.dll

The UsernameConfiguration property type specifies case sensitivity on the username input for the selected sign-in option.

public interface CfnUserPool.IUsernameConfigurationProperty

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 usernameConfigurationProperty = new UsernameConfigurationProperty {
                 CaseSensitive = false
             };

Remarks

Properties

CaseSensitive

Specifies whether user name case sensitivity will be applied for all users in the user pool through Amazon Cognito APIs.

object? CaseSensitive { get; }

Property Value

object

Remarks

For most use cases, set case sensitivity to False (case insensitive) as a best practice. When usernames and email addresses are case insensitive, users can sign in as the same user when they enter a different capitalization of their user name.

Valid values include:

    Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cognito-userpool-usernameconfiguration.html#cfn-cognito-userpool-usernameconfiguration-casesensitive