Volume 2: S33/7
  1. 01Lessons 1-10
  2. 02Lessons 11-20
  3. 03Lessons 21-30
  4. 04Lessons 31-40
  5. 05Lessons 41-50
  6. 06Lessons 51-60
  7. 07Lessons 61-70

Chapter 03 of 07

Lessons 21-30

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