Shadow Size Limit AWS IoT caches data corresponding to an IoT accessory (a thing) in the form of a JSON document known as a shadow. The maximum allowed size for this JSON document is 8 Kilobytes (KB). Of the 8 KB, 4 KB is for the actual state and 4 KB is for the desired state.