In the US, numerous sites are located near the water, and several are constructed directly on the shore.
As advised for any beachfront construction, boat, etc., maintenance standards suggest that if your is exposed to direct salt-water spray, it should be wiped down with fresh water once a week or after a significant storm.