How to connect a button signal to a new spawned enemy?

I am making a game where you press button to damage the enemy. And I want enemies to switch when dead. So I make them instantiate from an enemy container instead. However, I am unable to connect the button pressed signal to the enemy and make it functional. Please help.