AFAIK, the following conditions must be satisfied. This is from memory, please correct if wrong.
1. Only known active terrorist can be targeted. The threat from this person must be substantiated.
2. The number of possible bystander casualties must be minimal.
3. Impossible to arrest without significant causalties.
4. If the operation can be delayed, it will be.