def lambda_handler()

in cloudformation/functions/source/verify-iam-database-authentication/app.py [0:0]


def lambda_handler(event, context):
    with conn.cursor() as cursor:
        cursor.execute("SELECT 1;")
        print(cursor.fetchone())

    return "Verified ability to establish IAM Database Authentication"