NumberAttributeConstraints

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

Bases: object

__init__(*, max=None, min=None)

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

stability :stability: experimental

Return type

None

Attributes

max

Maximum value of this attribute.

default :default: - no maximum value

stability :stability: experimental

Return type

Union[int, float, None]

min

Minimum value of this attribute.

default :default: - no minimum value

stability :stability: experimental

Return type

Union[int, float, None]