interface NumberAttributeConstraintsProperty
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.Cognito.CfnUserPool.NumberAttributeConstraintsProperty |
![]() | software.amazon.awscdk.services.cognito.CfnUserPool.NumberAttributeConstraintsProperty |
![]() | aws_cdk.aws_cognito.CfnUserPool.NumberAttributeConstraintsProperty |
![]() | @aws-cdk/aws-cognito » CfnUserPool » NumberAttributeConstraintsProperty |
The minimum and maximum values of an attribute that is of the number data type.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as cognito from '@aws-cdk/aws-cognito';
const numberAttributeConstraintsProperty: cognito.CfnUserPool.NumberAttributeConstraintsProperty = {
maxValue: 'maxValue',
minValue: 'minValue',
};
Properties
Name | Type | Description |
---|---|---|
max | string | The maximum value of an attribute that is of the number data type. |
min | string | The minimum value of an attribute that is of the number data type. |
maxValue?
Type:
string
(optional)
The maximum value of an attribute that is of the number data type.
minValue?
Type:
string
(optional)
The minimum value of an attribute that is of the number data type.