All Products
Search
Document Center

Function Compute:Key

Last Updated:Aug 02, 2024
ParameterTypeDescriptionExample
object

The filter rules of the OSS trigger.

prefixstring

The prefix that is used to filter the event-related resources. Only events related to the resources whose names are prefixed with the specified value of Prefix are traced. For example, if you set Prefix to serverless_, only events related to the resources that are prefixed with serverless_ can trigger the function.

serverless_
suffixstring

The suffix that is used to filter the event-related resources. Only events related to the resources whose names are suffixed with the specified value of Suffix are traced. For example, if you set Suffix to .zip, only events related to the resources that are suffixed with .zip can trigger the function.

.zip