How to specify AWS policy where ec2:SourceInstanceARN is equal to resource? (sourceARN = targetARN)
I would like to allow Instance role to do ssm:SendCommand to instance itself but not to other instances.
My policy is:
I would like to allow Instance role to do ssm:SendCommand to instance itself but not to other instances.
My policy is: