StringAttributeConstraints¶
-
class
aws_cdk.aws_cognito.
StringAttributeConstraints
(*, max_len=None, min_len=None)¶ Bases:
object
Constraints that can be applied to a custom attribute of string type.
- Parameters
max_len (
Union
[int
,float
,None
]) – Maximum length of this attribute. Default: 2048min_len (
Union
[int
,float
,None
]) – Minimum length of this attribute. Default: 0
Attributes
-
max_len
¶ Maximum length of this attribute.
- Default
2048
- Return type
Union
[int
,float
,None
]
-
min_len
¶ Minimum length of this attribute.
- Default
0
- Return type
Union
[int
,float
,None
]