Does AWS S3 lifecycle rule delete folders?

Solution 1:

http://docs.aws.amazon.com/AmazonS3/latest/UG/FolderOperations.html

Amazon S3 has a flat structure with no hierarchy like you would see in a typical file system. However, for the sake of organizational simplicity, the Amazon S3 console supports the folder concept as a means of grouping objects. Amazon S3 does this by using key name prefixes for objects.

In other words, folders don't actually exist on S3.