Table of Contents

Interface IStringAttributeConstraints

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

Constraints that can be applied to a custom attribute of string type.

public interface IStringAttributeConstraints

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 stringAttributeConstraints = new StringAttributeConstraints {
                MaxLen = 123,
                MinLen = 123
            };

Remarks

ExampleMetadata: fixture=_generated

Properties

MaxLen

Maximum length of this attribute.

double? MaxLen { get; }

Property Value

double?

Remarks

Default: 2048

MinLen

Minimum length of this attribute.

double? MinLen { get; }

Property Value

double?

Remarks

Default: 0