interface NumberAttributeConstraintsProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.CfnPropertyMixins.AWS.Cognito.CfnUserPoolPropsMixin.NumberAttributeConstraintsProperty |
Go | github.com/aws/aws-cdk-go/awscdkcfnpropertymixins/v2/awscognito#CfnUserPoolPropsMixin_NumberAttributeConstraintsProperty |
Java | software.amazon.awscdk.cfnpropertymixins.services.cognito.CfnUserPoolPropsMixin.NumberAttributeConstraintsProperty |
Python | aws_cdk.cfn_property_mixins.aws_cognito.CfnUserPoolPropsMixin.NumberAttributeConstraintsProperty |
TypeScript | @aws-cdk/cfn-property-mixins » aws_cognito » 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 { aws_cognito as cognito } from '@aws-cdk/cfn-property-mixins';
const numberAttributeConstraintsProperty: cognito.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