Logstash JDBC - All rows run only once

I want to migrate DB table data with millions of rows to S3. I found jdbc plugin. But not clear how to make it run only once for all rows paginated way - The main question is on Scheduling: I don't want to run repeatedly. I need Idempotency. Appreciate any help.