Parameter | Type | Description | Example |
---|---|---|---|
object | The trigger configurations. | ||
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 information about the HTTP trigger. | |
invocationRole | string | The role that is 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 configurations of the trigger. The configurations vary based on trigger types. | { "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 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 |
triggerType | string | The type of the trigger. | http |