Capture LogoCapture

PDF Storage Options

Integrate PDF generation with AWS S3 storage. Configure custom filenames, access control lists (ACL), automatic redirects, and upload management for seamless delivery.

Configure how your generated PDFs are stored, named, and delivered. These options allow integration with AWS S3 and control over file management.

Storage Parameters

File Name (fileName)

  • Default: Auto-generated based on URL hash
  • Description: Custom filename for S3 storage
  • Example: fileName=report-2024-q1
  • Note: .pdf extension added automatically

S3 Access Control (s3Acl)

  • Default: Private
  • Description: AWS S3 canned ACL for uploaded files
  • Example: s3Acl=public-read
  • Reference: AWS S3 ACL Documentation

S3 Redirect (s3Redirect)

  • Default: false
  • Description: Redirect to S3 URL instead of serving PDF directly
  • Example: s3Redirect=true
  • Result: Returns 302 redirect to S3 location

Usage Examples

Basic S3 Upload

https://cdn.capture.page/KEY/HASH/pdf?url=https://example.com&fileName=example-report

Public PDF with Redirect

https://cdn.capture.page/KEY/HASH/pdf?url=https://example.com&s3Acl=public-read&s3Redirect=true

Private Storage

https://cdn.capture.page/KEY/HASH/pdf?url=https://example.com&fileName=confidential-doc&s3Acl=private

S3 Configuration

ACL Options

ACL ValueDescriptionUse Case
privateOnly owner can accessConfidential documents
public-readAnyone can readPublic reports, brochures
public-read-writeAnyone can read/writeRarely used
authenticated-readAWS authenticated usersInternal sharing
bucket-owner-readBucket owner can readCross-account access
bucket-owner-full-controlBucket owner full accessManaged services

On this page