nexrender-action-upload-s3-presigned
v3.1.0
Published
Caches and tests to see if a cached template with the same name exists, if so, sets the template.src to the cached file
Downloads
17
Maintainers
Readme
nexrender-action-upload-s3-presigned
Upload to AWS S3 given a presignedUrl with putObject
permissions
Install
npm install nexrender-action-upload-s3-presigned@latest
How to use
- Add this module to
postrender
- in params provide
url
- optionally configure a
content_type
, the plugin will first try to take the content-type from theurl
, if not, it will take it from the param
{
"template": {
"src": "https://example.com/templates/ae-template-to-use.aep",
"composition": "my_composition"
},
"assets": [],
"actions": {
"postrender": [
{
"module": "nexrender-action-upload-s3-presigned",
"input": "output.mp4",
"params": {
"url": "https://some-bucket.s3.us-west-2.amazonaws.com/some.jpg?X-Amz-Algorithm=SHA256&X-Amz-Credential=XXX%2Fus-west-2%2Fs3%2Faws4_request&X-Amz-Date=20211114T141656Z&X-Amz-Expires=3600&Content-Type=text%2Fplain&X-Amz-SignedHeaders=host&X-Amz-Signature=8497XXX",
"content_type": "video/mp4"
}
}
]
}
}