All Products
Search
Document Center

Function Compute:Key

Last Updated:Aug 28, 2026

Parameter

Type

Description

Example

object

The filter rules of the OSS trigger.

prefix

string

The prefix used to filter event-related resources. Only events for resources whose names start with this prefix are tracked. For example, if you set Prefix to serverless_, only resources prefixed with serverless_ can trigger the function.

serverless_

suffix

string

The suffix used to filter event-related resources. Only events for resources whose names end with this suffix are tracked. For example, if you set Suffix to .zip, only resources suffixed with .zip can trigger the function.

.zip