Chef custom resource

hi all,

CHEF-Have developed a custom resource with property and actions.I need to use that across different recipes like mongo, cassandra and elastic search that has similar properties among them but each of their proporties begin with the prefix as mongo_user,cassandra_user and elasticsearch_user. am struck and wondering how chef will pick dynamically the values for each properties defined in the custom resource and use them accordingly in every recipe.your help on this is very much appreciable.