All communities fall under one of these categories: public, private, or exclusive.
Only posts within public communities can be shared. This means that for private and exclusive communities, there will be no option to do so because the content is private or exclusive except for members in said community.