Table of Contents

Interface CfnUserPool.IStringAttributeConstraintsProperty

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

The StringAttributeConstraints property type defines the string attribute constraints of an Amazon Cognito user pool.

public interface CfnUserPool.IStringAttributeConstraintsProperty

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 stringAttributeConstraintsProperty = new StringAttributeConstraintsProperty {
                 MaxLength = "maxLength",
                 MinLength = "minLength"
             };

Remarks

StringAttributeConstraints is a subproperty of the SchemaAttribute property type.

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

ExampleMetadata: fixture=_generated

Properties

MaxLength

The maximum length.

string? MaxLength { get; }

Property Value

string

Remarks

MinLength

The minimum length.

string? MinLength { get; }

Property Value

string

Remarks