Recued
Menu
← Back to recipes

Save a text object to S3

by recued-core v1 35 views

Use “Save a text object to S3” in Recued. Save one text, Markdown, JSON, or CSV object at an exact key in an enrolled writable S3 file collection. Overwrite is off by default: a pre-write check skips a key that already exists.

How it works 12 steps

Inspect the data fetches, transforms, gates, and output this recipe runs.

Process (12 steps)
◆ before core.storage.file.stat
Stat storage file
■ overwrite_blocked all
Check if all conditions are true
■ body_b64 encode_base64
Apply encode_base64
skip: step.overwrite_blocked equal true
◆ write core.storage.file.write
Write storage file
skip: step.overwrite_blocked equal true
◆ after core.storage.file.stat
Stat storage file
skip: step.write is_null
■ size_matches compare
Check if after size bytes equals
skip: step.write is_null
■ write_confirmed all
Check if all conditions are true
skip: step.write is_null
■ attempt_state ternary
Apply ternary
■ state ternary
Apply ternary
■ bytes_written default
Apply default
■ reported_metadata default
Apply default
■ card to_summary
Format results as a summary card
▼
Output
summary card
json reported_metadata
Settings 5 configurable

Configurable at install. Defaults shown — change them anytime in Recued.

text setting = [object Object]
overwrite setting = false
object key setting = [object Object]
content type setting = text/plain
storage slug setting = [object Object]

Uses (2 operations)

Files Stat storage file core.storage.file.stat
Files Write storage file core.storage.file.write

Trust & control

What installing this recipe would let it do. Recued grants these permissions at install — review them there before approving.

What it's allowed to do

Read Files core.storage.file.stat read-only
Write Files core.storage.file.write external change

Data it touches

SurfacesFiles

About

Tags

s3 pack:s3amazon-s3object-storageobjecttextwritebounded-write

Details

12 steps 5 configurable settings recipe_id: save-text-object-s3