FileCompress FileCompress

yaml
type: "io.kestra.plugin.compress.FileCompress"

Compress a file

Examples

yaml
id: "file_compress"
type: "io.kestra.plugin.compress.FileCompress"
from: "{{ inputs.files }} "
compression: Z

Properties

compression

  • Type: string
  • Dynamic:
  • Required: ✔️
  • Possible Values:
    • BROTLI
    • BZIP2
    • DEFLATE
    • DEFLATE64
    • GZIP
    • LZ4BLOCK
    • LZ4FRAME
    • LZMA
    • SNAPPY
    • SNAPPYFRAME
    • XZ
    • Z
    • ZSTD

The algorithm compression of the archive file

from

  • Type: string
  • Dynamic: ✔️
  • Required: ✔️

The file internal storage uri

Outputs

uri

  • Type: string

The url of the zip file on kestra storage