Cognito: Limit user pool ID to 55 characters (#6813)

This commit is contained in:
komada 2023-09-15 07:23:21 +09:00 committed by GitHub
parent c1a6609f55
commit d88d5afda6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -382,7 +382,7 @@ DEFAULT_USER_POOL_CONFIG: Dict[str, Any] = {
class CognitoIdpUserPool(BaseModel): class CognitoIdpUserPool(BaseModel):
MAX_ID_LENGTH = 56 MAX_ID_LENGTH = 55
def __init__( def __init__(
self, account_id: str, region: str, name: str, extended_config: Dict[str, Any] self, account_id: str, region: str, name: str, extended_config: Dict[str, Any]