You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -22,7 +22,7 @@ Event payload body.
22
22
|**document_url**| url | Fetch the html content from `document_url` to disk before rendering. |
23
23
|**browser_url**| url | Browser the `browser_url` with `playwright` before rendering with `renderer`|
24
24
|**browser_headers**| Mapping[str,str]| Add additional headers to playwright before visiting `browser_url`|
25
-
|**browser_papersize**|`A4` or `Letter`| Size of the page when creating PDF with playwright||
25
+
|**browser_pdf_options**| Mapping[str,str]| Add additional options to playwright `.pdf()` call||
26
26
|**renderer**|`princexml` or `playwright`| Renderer to render the html with |
27
27
|**bucket_name**| string | Output the resulting pdf to `s3://{bucket_name}/{uuid}.pdf`. The lambda will require permission to upload to the bucket. The response will include `bucket`, `key`, `presigned_url`|
28
28
|**presigned_url**| url | Output the resulting pdf to the presigned url. Generate the presigned url with `put_object`. See Output for more information. |
0 commit comments