(CNN) -- President Donald Trump has announced that Labor Secretary Alexandria Acosta has resigned.