StringAttributeConstraints

class aws_cdk.aws_cognito.StringAttributeConstraints(*, max_len=None, min_len=None)

Bases: object

__init__(*, max_len=None, min_len=None)

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: 2048

  • min_len (Union[int, float, None]) – Minimum length of this attribute. Default: 0

stability :stability: experimental

Return type

None

Attributes

max_len

Maximum length of this attribute.

default :default: 2048

stability :stability: experimental

Return type

Union[int, float, None]

min_len

Minimum length of this attribute.

default :default: 0

stability :stability: experimental

Return type

Union[int, float, None]