Skip to Content

Access Points and Object Lambda

S3 Access Points with their own policies and DNS names, VPC-only access points, and S3 Object Lambda for changing objects as they're read.

S3 Access Points

S3 Access Points: the finance, sales and analytics teams each use their own access point, with its own DNS name and policy: read and write under /finance/, read and write under /sales/, or read the whole bucket; the bucket policy stays simple S3 Access Points: the finance, sales and analytics teams each use their own access point, with its own DNS name and policy: read and write under /finance/, read and write under /sales/, or read the whole bucket; the bucket policy stays simple

One entry point per team, each with its own policy.

A shared bucket used by many teams ends up with a huge, fragile bucket policy. S3 Access Points simplify security management for such buckets.

Each access point has:

  • its own DNS name, with a network origin of either internet or VPC;
  • an access point policy (similar to a bucket policy), so security is managed at scale, one team or application at a time.

In the example:

  • the Finance access point policy grants read/write to the /finance prefix;
  • the Sales access point policy grants read/write to the /sales prefix;
  • the Analytics access point policy grants read to the whole bucket.

The bucket policy stays simple: it delegates access control to the access points.

VPC origin

  • An access point can be defined as accessible only from within a VPC.
  • A VPC endpoint for S3 must be created (Gateway or Interface endpoint) to reach it. See VPC endpoints.
  • The VPC endpoint policy must allow access to both the target bucket and the access point.

So a request from an EC2 instance passes three policies: the endpoint policy, the access point policy and the bucket policy.

S3 Object Lambda

S3 Object Lambda uses AWS Lambda functions to change an object as it's retrieved by the calling application.

  • Only one S3 bucket is needed. On top of it sit a supporting S3 Access Point and one or more S3 Object Lambda Access Points, each linked to a Lambda function.
  • An application reads through an Object Lambda Access Point; the function fetches the original object, changes it and returns the result. The stored object never changes.
  • Use cases:
    • redacting personally identifiable information for analytics or non-production environments;
    • converting data formats, such as XML to JSON;
    • resizing and watermarking images on the fly, using details of the user who asked.

For example, an e-commerce app reads the original object; an analytics app reads a redacted copy; a marketing app reads a copy enriched with data from a customer loyalty database, all from the same bucket.

Updated since the slides

Since 7 November 2025, S3 Object Lambda is available only to existing customers (and some AWS partners). New designs do the same with CloudFront functions, Lambda behind API Gateway, or processing at write time. It can still appear on the exam as "transform objects on retrieval without storing copies".

Real-world examples

  • A data lake shared by 30 teams gives each team an access point with a policy limited to its prefix, instead of one 20 KB bucket policy.
  • A bank creates a VPC-only access point, so its data can only be reached from inside its private network.
  • A healthcare company uses Object Lambda to strip patient names from records when the analytics team reads them.

Exam tips

  • "Many teams share a bucket, the bucket policy is too complex" → S3 Access Points with per-team policies.
  • "Access the bucket only from inside a VPC" → an access point with VPC network origin, plus a VPC endpoint.
  • "Change data as it's read, without storing copies" (redact, convert, resize) → S3 Object Lambda.

Common traps

  • "Create a copy of the bucket per team." Access points give separate entry points to one bucket.
  • "A VPC access point works without a VPC endpoint." It needs one, and the endpoint policy must allow the access point and bucket.
  • "Object Lambda changes the stored object." It changes only what the caller receives.

Hands-on lab: an access point

Goal: create an access point for your bucket and read an object through it.

Costs money

Access points are free; a few requests cost less than a cent. Any Region works.

Create the access point

S3 → Access Points → Create access point. Name saa-ap, bucket: your lab bucket, network origin Internet. Keep Block Public Access on. Create.

Read through it

Open saa-ap and copy its access point alias (it looks like a bucket name ending in -s3alias). In CloudShell:

aws s3 ls s3://<access-point-alias>/

You see the bucket's objects: the access point is another way into the same bucket. (Your own IAM permissions allow it; for other users you'd add an access point policy.)

Expected result: the same objects listed through the access point's own name.

Clean up: delete saa-ap. When you've finished all the S3 labs, empty and delete your lab bucket (with Show versions on, so old versions go too).

AWS documentation

On this page

Open notes

Spotted a mistake?

These notes are open source. Suggest a fix, or star the repo if they helped you.

Suggest an edit

For AI agents: llms.txt · llms-full.txt