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 valuemin (
Union
[int
,float
,None
]) – Minimum value of this attribute. Default: - no minimum value
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. import aws_cdk.aws_cognito as cognito number_attribute_constraints = cognito.NumberAttributeConstraints( max=123, min=123 )
Attributes
- max
Maximum value of this attribute.
- Default:
no maximum value
- min
Minimum value of this attribute.
- Default:
no minimum value