All Products
Search
Document Center

Function Compute:Trigger

Last Updated:Aug 27, 2026

Parameter

Type

Description

Example

object

The trigger configuration.

createdTime

string

The time when the trigger was created.

2020-08-20T02:28:21Z

description

string

The description of the trigger.

test_description

httpTrigger HTTPTrigger

The HTTP trigger configuration.

invocationRole

string

The role used by the event source, such as OSS, to invoke the function.

acs:ram::151641468453****:role/my-role

lastModifiedTime

string

The time when the trigger was last modified.

2020-04-23T06:32:43Z

qualifier

string

The version or alias of the function.

LATEST

sourceArn

string

The Alibaba Cloud Resource Name (ARN) of the event source for the trigger.

acs:oss:cn-hangzhou:151641468453****:my-bucket

status

string

The status of the trigger.

OK

targetArn

string

The ARN of the function.

acs:oss:cn-hangzhou:151641468453****:my-bucket

triggerConfig

string

The trigger configuration. The configuration varies by trigger type.

{ "events": [ "oss:ObjectCreated:*" ], "filter": { "key": { "prefix": "/prefix", "suffix": ".zip" } } }

triggerId

string

The unique ID of the trigger.

546959b5-ce1a-4991-8891-df7a02b25086

triggerName

string

The name of the trigger. The name can contain only letters, digits, hyphens (-), and underscores (_), must be 1 to 128 characters in length, and cannot start with a digit or hyphen (-).

defaultTrigger

triggerType

string

The type of the trigger.

http