All of the SDKs are open-sourced on GitHub, so you can use them as is or tweak them for your device or application. You can find the links to all the AWS IoT device SDKs here.