Getting away from lunch shaming, which is mind wrecking malicious practice, here publishing a short example on how to connect to AWS IoT from Python using Paho MQTT client.

Check out gist – https://gist.github.com/skirdey/9cdead881799a47742ff3cd296d06cc1