One thing to be careful of with this is the Data Transfer (egress) cost you will incur streaming data out from S3.
If you're just wanting to do a 'grep' style action on an S3 prefix, might be worth looking into "S3 Select"for your use case instead
If you're just wanting to do a 'grep' style action on an S3 prefix, might be worth looking into "S3 Select"for your use case instead