What is this amber like substance on capacitor and inductor?
What you are referring to is simply a magnificent blob of hot glue or more colloquially known as "hot-snot" to prevent the capacitor from breaking off with excessive vibration.

If you want to remove it, use a heat gun on a very low setting, if it is indeed hot glue it should allow you to scrape it off. If its epoxy you have to nip at it to try and scrape enough off to allow you to remove the bad capacitor.