NumberAttributeConstraints

class aws_cdk.aws_cognito.NumberAttributeConstraints(*, max=None, min=None)

Bases: object

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

Parameters
  • max (Union[int, float, None]) – Maximum value of this attribute. Default: - no maximum value

  • min (Union[int, float, None]) – Minimum value of this attribute. Default: - no minimum value

Attributes

max

Maximum value of this attribute.

Default
  • no maximum value

Return type

Union[int, float, None]

min

Minimum value of this attribute.

Default
  • no minimum value

Return type

Union[int, float, None]