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:
.pdfextension 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-reportPublic PDF with Redirect
https://cdn.capture.page/KEY/HASH/pdf?url=https://example.com&s3Acl=public-read&s3Redirect=truePrivate Storage
https://cdn.capture.page/KEY/HASH/pdf?url=https://example.com&fileName=confidential-doc&s3Acl=privateS3 Configuration
ACL Options
| ACL Value | Description | Use Case |
|---|---|---|
private | Only owner can access | Confidential documents |
public-read | Anyone can read | Public reports, brochures |
public-read-write | Anyone can read/write | Rarely used |
authenticated-read | AWS authenticated users | Internal sharing |
bucket-owner-read | Bucket owner can read | Cross-account access |
bucket-owner-full-control | Bucket owner full access | Managed services |
PDF Rendering Options
Control PDF rendering quality with custom scaling (0.1-2x), background graphics printing, and webpage optimization. Perfect for reports, invoices, and documentation.
PDF Authentication & Headers
Generate PDFs from password-protected websites using HTTP Basic Authentication and custom user agent headers. Access internal applications and authenticated content.