Skip to content
v2.273.0

NumberAttributeConstraints Struct ​

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

Example ​

ts
// 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-lib';
const numberAttributeConstraints: cognito.NumberAttributeConstraints = {
  max: 123,
  min: 123,
};

Properties ​

maxnumbermaxint | floatmaxNumberMaxdoubleMax*float64= no maximum value#
Maximum value of this attribute.
minnumberminint | floatminNumberMindoubleMin*float64= no minimum value#
Minimum value of this attribute.