Torch Object Storage
Name | Location | Type | Required | Sample value | Note |
Name | Location | Type | Required | Sample value | Note |
notification | Query | String | Yes | - | Special identifier representing the PutBucketNotification request. |
Name | Type | Required | Sample value | Description |
Name | Type | Required | Sample value | Description |
CloudFunctionConfigurations | Array | No | - | Event notification rule information. |
Events | Array | Yes | ["tos:ObjectCreated:", "tos:ObjectRemoved:"] | Set the types of events to notify. For a list of types supported by TOS, see Supported event types. Parent node: CloudFunctionConfigurations |
Filter | Container | No | - | Set filter rules. Parent node: CloudFunctionConfigurations |
TOSKey | Container | No | - | Currently supports setting FilterRule, which is the object's filter information. Parent node: Filter |
FilterRules | Array | No | [ {"Name": "prefix", "Value": "test_" }, { "Name": "suffix", "Value": ".jpg" } ] | Set the filtering rules that the object must match. Supports setting prefix and suffix, filtering event objects based on prefix and suffix rules respectively.
Parent node: TOSKey |
Name | String | No | prefix | Set the conditions to match. The options are as follows:
Parent node: FilterRules |
Value | String | No | test_ | Set the prefix and suffix information to be matched. Parent node: FilterRules |
RuleId | String | No | TestNotification | Set the event notification rule name with the following naming conventions:
If not set, TOS will generate the rule name automatically. Parent node: CloudFunctionConfigurations |
CloudFunction | String | Yes | l2u0**** | Function ID for event delivery. You can log in to the Function Service Console and view the function ID on the function configuration page. Parent node: CloudFunctionConfigurations |