Skip to main content

TCognitoIdentityProviderStringAttributeConstraintsType

Class in AWS.CognitoIdentityProvider

StringAttributeConstraintsType class.

Ancestors

Properties

MaxLength

property MaxLength: string

MinLength

property MinLength: string

Methods

ForMaxLength

class function ForMaxLength( const AMaxLength: string): TCognitoIdentityProviderStringAttributeConstraintsType; static;

TCognitoIdentityProviderStringAttributeConstraintsType

Construct a TCognitoIdentityProviderStringAttributeConstraintsType instance with MaxLength set.

Parameters

NameDescription
AMaxLengthSpecify the maximum length of an attribute that is of the string data type.

Returns

A TCognitoIdentityProviderStringAttributeConstraintsType instance with MaxLength set.

ForMinLength

class function ForMinLength( const AMinLength: string): TCognitoIdentityProviderStringAttributeConstraintsType; static;

TCognitoIdentityProviderStringAttributeConstraintsType

Construct a TCognitoIdentityProviderStringAttributeConstraintsType instance with MinLength set.

Parameters

NameDescription
AMinLengthSpecify the minimum length of an attribute that is of the string data type.

Returns

A TCognitoIdentityProviderStringAttributeConstraintsType instance with MinLength set.

ForRange

class function ForRange( const AMinLength, AMaxLength: string): TCognitoIdentityProviderStringAttributeConstraintsType; static;

TCognitoIdentityProviderStringAttributeConstraintsType

Construct a TCognitoIdentityProviderStringAttributeConstraintsType instance with both MaxLength and MinLength set.

Parameters

NameDescription
AMinLengthSpecify the minimum length of an attribute that is of the string data type.
AMaxLengthSpecify the maximum length of an attribute that is of the string data type.

Returns

A TCognitoIdentityProviderStringAttributeConstraintsType instance with both MaxLength and MinLength set.