1 Answer
- Newest
- Most votes
- Most comments
0
Thanks for reaching out.
RunCommand supports conditions on a specific resource, however, combinations of different resources are not supported.
A workaround is to create different policies for different users, one is to allow Command1 to be sent to instances A or B, the other one is to allow Command2 to be sent to instances B or C.
Thanks!
answered 4 years ago
Relevant content
- Accepted Answerasked 2 years ago
- asked 2 years ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 7 months ago
- AWS OFFICIALUpdated 10 months ago
- AWS OFFICIALUpdated a year ago