{
  "name": "s3-delete",
  "title": "Delete S3 objects",
  "description": "Delete one object, or every object under a prefix, from an S3 bucket. Use it to clear old backups or build output.",
  "category": "Object storage",
  "tags": [
    "aws-cli",
    "object-storage"
  ],
  "latestVersion": "1.0.0",
  "versions": [
    "1.0.0"
  ],
  "parameters": [
    "bucket",
    "key",
    "aws-access-key-id-key",
    "aws-secret-access-key-key",
    "aws-secret-name",
    "recursive",
    "region"
  ],
  "images": [
    "amazon/aws-cli@sha256:d557b3524475d70dd3104cf44d96568ee3188897b73a6ece2b37aa50e1af362f"
  ],
  "url": "https://catalog.dagweave.com/api/v1/items/s3-delete.json",
  "templateUrl": "https://catalog.dagweave.com/api/v1/items/s3-delete/latest/template.yaml",
  "page": "https://catalog.dagweave.com/items/s3-delete/",
  "entrypoint": "delete",
  "parameterDetails": [
    {
      "name": "bucket",
      "title": "Bucket",
      "description": "S3 bucket, without the s3:// prefix.",
      "type": "string",
      "required": true,
      "example": "acme-db-backups"
    },
    {
      "name": "key",
      "title": "Key",
      "description": "Object key, or the prefix to clear when recursive is \"true\".",
      "type": "string",
      "required": true,
      "example": "checkout/2026-09/"
    },
    {
      "name": "aws-access-key-id-key",
      "title": "Aws access key id key",
      "description": "Key in that Secret that holds the access key id.",
      "type": "string",
      "required": false,
      "default": "access-key-id"
    },
    {
      "name": "aws-secret-access-key-key",
      "title": "Aws secret access key key",
      "description": "Key in that Secret that holds the secret access key.",
      "type": "string",
      "required": false,
      "default": "secret-access-key"
    },
    {
      "name": "aws-secret-name",
      "title": "Aws secret name",
      "description": "Name of the Kubernetes Secret that holds the AWS credentials.",
      "type": "string",
      "required": false,
      "default": "aws-credentials"
    },
    {
      "name": "recursive",
      "title": "Recursive",
      "description": "Set to \"true\" to delete everything under the key as a prefix.",
      "type": "string",
      "required": false,
      "default": "false",
      "enum": [
        "true",
        "false"
      ]
    },
    {
      "name": "region",
      "title": "Region",
      "description": "AWS region of the resource.",
      "type": "string",
      "required": false,
      "default": "us-east-1"
    }
  ],
  "imageDetails": [
    {
      "ref": "amazon/aws-cli@sha256:d557b3524475d70dd3104cf44d96568ee3188897b73a6ece2b37aa50e1af362f",
      "repository": "amazon/aws-cli",
      "tag": "2.39.3",
      "digest": "sha256:d557b3524475d70dd3104cf44d96568ee3188897b73a6ece2b37aa50e1af362f"
    }
  ],
  "versionDetails": [
    {
      "version": "1.0.0",
      "date": "2026-10-18",
      "notes": "Initial release.",
      "latest": true,
      "installable": true,
      "url": "https://catalog.dagweave.com/api/v1/items/s3-delete/1.0.0.json",
      "templateUrl": "https://catalog.dagweave.com/api/v1/items/s3-delete/1.0.0/template.yaml"
    }
  ],
  "source": "https://github.com/dagweave/catalog/tree/67458f74dbbf913b03177f3cefc69424be85eb1d/catalog/s3-delete",
  "catalogSha": "67458f74dbbf913b03177f3cefc69424be85eb1d"
}
