interface NumberAttributeConstraintsProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.Cognito.Mixins.CfnUserPoolPropsMixin.NumberAttributeConstraintsProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awscognito/mixins#CfnUserPoolPropsMixin_NumberAttributeConstraintsProperty |
Java | software.amazon.awscdk.mixins.preview.services.cognito.mixins.CfnUserPoolPropsMixin.NumberAttributeConstraintsProperty |
Python | aws_cdk.mixins_preview.aws_cognito.mixins.CfnUserPoolPropsMixin.NumberAttributeConstraintsProperty |
TypeScript | @aws-cdk/mixins-preview » aws_cognito » mixins » CfnUserPoolPropsMixin » NumberAttributeConstraintsProperty |
The minimum and maximum values of an attribute that is of the number type, for example custom:age .
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { mixins as cognito_mixins } from '@aws-cdk/mixins-preview/aws-cognito';
const numberAttributeConstraintsProperty: cognito_mixins.CfnUserPoolPropsMixin.NumberAttributeConstraintsProperty = {
maxValue: 'maxValue',
minValue: 'minValue',
};
Properties
| Name | Type | Description |
|---|---|---|
| max | string | The maximum length of a number attribute value. |
| min | string | The minimum value of an attribute that is of the number data type. |
maxValue?
Type:
string
(optional)
The maximum length of a number attribute value.
Must be a number less than or equal to 2^1023 , represented as a string with a length of 131072 characters or fewer.
minValue?
Type:
string
(optional)
The minimum value of an attribute that is of the number data type.

.NET
Go
Java
Python
TypeScript