In AWS IoT Core, a JSON permissions document that authorizes iot:Subscribe against topicfilter resources rather than to…