Get the most recent object from S3 with script
Here is the code Explanation of How it works Use AWS CLI to list the objects Sort the list by last modified time Grab the last item in the list Extract the 4th column First, list all the S3 objects in the bucket with AWS-CLI: By default, the list is sorted alphabetically by key. Note… Read more Get the most recent object from S3 with script