`` awarded to any person who , while serving in any capacity with the armed forces of the united states , distinguishes him or herself by heroic or meritorious achievement or service while engaged in an action against an enemy of the united states , in military operations involving conflict with an opposing foreign force , or while serving with friendly foreign forces engaged in an armed conflict against an opposing armed force in which the united states is not a belligerent party . ''