Recued
Menu
← Back to recipes

Delete an S3 object

by recued-core v1 35 views

Use “Delete an S3 object” in Recued. Permanently delete one exact, case-sensitive object key from an enrolled S3 file collection. The recipe first checks that the object exists, skips cleanly when it is already absent, asks for approval before deletion, and checks the key again afterward.

How it works 7 steps

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

Process (7 steps)
◆ before core.storage.file.stat
Stat storage file
◆ delete core.storage.file.delete
Delete storage file
skip: step.before.exists not_equal true
◆ after core.storage.file.stat
Stat storage file
skip: step.delete is_null
■ removed all
Check if all conditions are true
skip: step.delete is_null
■ delete_state ternary
Apply ternary
■ state ternary
Apply ternary
■ card to_summary
Format results as a summary card
▼
Output
summary card
json before
Settings 2 configurable

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

object key setting = [object Object]
storage slug setting = [object Object]

Uses (2 operations)

Files Stat storage file core.storage.file.stat
Files Delete storage file core.storage.file.delete

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
Destructive Files core.storage.file.delete external change

Data it touches

SurfacesFiles

About

Tags

s3 pack:s3amazon-s3object-storageobjectdeletedestructiveapproval

Details

7 steps 2 configurable settings recipe_id: delete-object-s3