drawstring

nouns

a tie consisting of a cord that goes through a seam around an opening
"he pulled the drawstring and closed the bag"