All Products
Search
Document Center

Function Compute:Trigger

Last Updated:Nov 22, 2024
ParameterTypeDescriptionExample
object

The trigger configurations.

createdTimestring

The time when the trigger was created.

2020-08-20T02:28:21Z
descriptionstring

The description of the trigger.

test_description
httpTriggerHTTPTrigger

The information about the HTTP trigger.

invocationRolestring

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

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

The time when the trigger was last modified.

2020-04-23T06:32:43Z
qualifierstring

The version or alias of the function.

LATEST
sourceArnstring

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

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

The status of the trigger.

OK
targetArnstring

The ARN of the function.

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

The configurations of the trigger. The configurations vary based on trigger types.

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

The unique ID of the trigger.

546959b5-ce1a-4991-8891-df7a02b25086
triggerNamestring

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

defaultTrigger
triggerTypestring

The type of the trigger.

http