here is the code i wrote to create the pool ```ap...
# python
h
here is the code i wrote to create the pool
Copy code
appuserpool = aws.cognito.UserPool(
    "app-user-pool-dev",
    name="test-pool-app",
    alias_attributes=["preferred_username"],
    auto_verified_attributes=["email"],
    admin_create_user_config={
        "UnusedAccountValidityDays": 7,
        "AllowAdminCreateUserOnly": True
    },
    schemas=[
        {
            "Name": "email",
            "StringAttributeConstraints": {
                "MinLength": "0",
                "MaxLength": "2048"
            },
            "DeveloperOnlyAttribute": False,
            "Required": True,
            "AttributeDataType": "String",
            "Mutable": True
        },
        {
            "Name": "userKey",
            "StringAttributeConstraints": {
                "MinLength": "32",
                "MaxLength": "32"
            },
            "DeveloperOnlyAttribute": False,
            "Required": False,
            "AttributeDataType": "String",
            "Mutable": True
        },
        {
            "Name": "initialRole",
            "StringAttributeConstraints": {
                "MinLength": "1",
                "MaxLength": "256"
            },
            "DeveloperOnlyAttribute": False,
            "Required": False,
            "AttributeDataType": "String",
            "Mutable": True
        }
    ])
app_client = aws.cognito.UserPoolClient(
    "app_client",
    name="app-app-client",
    generate_secret=True,
    refresh_token_validity=3000,
    user_pool_id=appuserpool.id
)