Imagine S3 as a very large, very simple place to store files. It isn't a hierarchical file system, instead everything is stored in buckets which are containers for objects stored on S3. Also, each object has a key which uniquely identifies it. You use a bucket like a directory, an object like a file, and its key like the file name.
Coding Library: Java/JSP

More Amazon S3 Resources: