Using $.send.s3
in workflows
You can send data to an S3 Destination in Node.js code steps using $.send.s3()
.
$.send.s3()
takes the following parameters:
$.send
function, you can use $.send.s3()
conditionally, within a loop, or anywhere you’d use a function normally.
Using $.send.s3
in component actions
If you’re authoring a component action, you can deliver data to an S3 destination using $.send.s3
.
$.send.s3
functions the same as $.send.s3
in workflow code steps:
S3 Bucket Policy
In order for us to deliver objects to your S3 bucket, you need to modify its bucket policy to allow Pipedream to upload objects. Replace[your bucket name]
with the name of your bucket near the bottom of the policy.
S3 Destination delivery
S3 Destination delivery is handled asynchronously, separate from the execution of a workflow. Moreover, events sent to an S3 bucket are batched and delivered once a minute. For example, if you sent 30 events to an S3 Destination within a particular minute, we would collect all 30 events, delimit them with newlines, and write them to a single S3 object. In some cases, delivery will take longer than a minute.S3 object format
We upload objects using the following format:test/
, I might see an object in S3 at this path:
Limiting S3 Uploads by IP
S3 provides a mechanism to limit operations only from specific IP addresses. If you’d like to apply that filter, uploads using$.send.s3()
should come from one of the following IP addresses: