Skip to content

Instantly share code, notes, and snippets.

View Salimahh's full-sized avatar
🤎
Focusing

Salimat Akinwande Salimahh

🤎
Focusing
View GitHub Profile
@Salimahh
Salimahh / s3-readonly-nodelete-policy.json
Last active April 30, 2026 14:21
Custom IAM policy: S3 read access scoped to named bucket prefix, with explicit deny on delete operations. Written as part of AWS Cloud Accelerator — Week 2 Day 2.
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "AllowReadOnlyMyBucketOnly",
"Effect": "Allow",
"Action": [
"s3:GetObject",
"s3:ListBucket"
],