In case any building, structure, landscaping, or land is, or is proposed to be, erected, constructed, reconstructed, altered, converted, maintained, or used in violation of this chapter, the Borough Council or, with approval of the Borough Council, an officer of the Borough, or any aggrieved owner or tenant of real property who shows that his property or person will be substantially affected by the alleged violation, may institute any appropriate action or proceeding to prevent, restrain, correct, or abate any such building, structure, or land, or to prevent, in or about such premises, any act, conduct, business, or use constituting a violation. When any such action is instituted by a landowner or tenant, notice of that action shall be served upon the Borough Council at least 30 days prior to the time the action is begun by serving a copy of the complaint on the Borough. No such action may be maintained until such notice has been given.