Well, you are correct GRM, it will add it to the city and if the city is connected to the civilizations trade network it will be shared to the rest of the cities.
@ Che - if that is the behavior you are looking for then using the tags would work. Otherwise you will need to write some new SDK code to add a new tag and to prevent the sharing of the resource with other cities.