# NumberAttributeConstraints

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

- Source: [`aws-cognito/lib/user-pool-attr.ts`](https://github.com/aws/aws-cdk/blob/v2.275.0/packages/aws-cdk-lib/aws-cognito/lib/user-pool-attr.ts#L277)

## 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

- `max`: number — Maximum value of this attribute.

  **Default:** no maximum value

- `min`: number — Minimum value of this attribute.

  **Default:** no minimum value
