Aux output as led status

Hey guys so i want to light up an led using aux output when there is a gps lock so that when the gps is locked one of my aux outputs is high how do i set this up and also are there any led status pins in pixhawk also tell me how to do the same when the drone is armed(all i need is led status,gps status and arm status as high or low on aux output pins)

https://ardupilot.org/copter/docs/common-external-leds.html