FileCompress
FileCompress
yaml
type: "io.kestra.plugin.compress.FileCompress"
Compress a file.
Examples
yaml
id: file_compress
namespace: company.team
inputs:
- id: file
description: File to be compressed
type: FILE
tasks:
- id: compress
type: io.kestra.plugin.compress.FileCompress
from: "{{ inputs.file }}"
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's internal storage URI.
Outputs
uri
- Type: string
- Required: ❌
- Format:
uri
URI of the compressed file on Kestra's internal storage.
Definitions
Was this page helpful?