Common space parcels in realty subdivisions. In any district, a parcel within a real property subdivision, owned and maintained by a homeowners' association as common space for the use and benefit of the owners of residential lots within that subdivision, shall be permitted as accessory to the subdivision. The common space may be required to be maintained as undeveloped open space as a condition of approval of the subdivision or by other local, state or federal regulation or may be improved with amenities for use by the lot owners or their tenants or guests, if such amenities are not otherwise prohibited or restricted. Such amenities may include a community building housing shared recreational, dining and child-care facilities, recreational playing fields, tennis courts, swimming pools and structures housing congregate mailboxes. Parking facilities accessory to any such use or for the common use of the lot owners or their tenants or guests as an accessory to the residential use of the lots may also be provided. For purposes of determining front yard, side yard and rear yard dimensions, community buildings and swimming pools shall be considered to be principal uses on the parcel. The area and dimensions of the parcel, and the type, location, design, and conditions of use of such amenities, shall be subject to approval by the Town Planning Board pursuant to review under the subdivision provisions of this chapter.