How can I place objects only in a specific region

I’m making a planetary defence game and I want players to be able to place objects on Earth but only in a pre-defined region. Please let me know how I can create this functionality.