How can I collect & store AWS IoT devices data in InfluxDB

Hello All,

We want to collect the devices data from AWS IoT. I have gone through with Cloud watch input format but no use. can you please help us on this.

Thanks & Regards
Nagarjuna Eerla