All Products
Search
Document Center

Function Compute:OSSTriggerKey

Last Updated:Sep 19, 2024
ParameterTypeDescriptionExample
object

The description of the event filtering rule.

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"