Volume 2: S33/7
Chapter 03 of 07
Lessons 21-30
10 lessons20 min readingParts 31-40
- 01Read an S3 bucket policy line by lineCreate a least-privilege bucket policy document locally and inspect its IAM policy structure.2 min read2 min read
- 02Check whether an S3 bucket policy is publicUse get-bucket-policy-status to ask S3 whether a bucket policy is considered public.2 min read2 min read
- 03Configure S3 CORS for one web originAdd a narrow S3 CORS rule for browser GET and HEAD requests from one origin.2 min read2 min read
- 04Add tags to an S3 objectAttach object tags with put-object-tagging and read them back from the CLI.2 min read2 min read
- 05Replace and remove S3 object tagsSafely replace an S3 object's full tag set and then remove all object tags.2 min read2 min read
- 06Replace S3 metadata while copying an objectUse copy-object with metadata-directive REPLACE to create a copy with new metadata.2 min read2 min read
- 07Choose an S3 storage class during uploadUpload an object directly to S3 Standard-IA and inspect its storage class.2 min read2 min read
- 08List S3 objects under one prefixUse list-objects-v2 with a prefix to inspect one logical area of a bucket.2 min read2 min read
- 09Group S3 keys with a delimiterUse an S3 delimiter to produce folder-like CommonPrefixes in object listings.2 min read2 min read
- 10Control S3 listing paginationUse max-items and starting-token to understand AWS CLI pagination over S3 objects.2 min read2 min read