Skip to content
This repository was archived by the owner on May 5, 2025. It is now read-only.

Commit de072e5

Browse files
authored
Creates the Alibaba OSS Target Documentation (#167)
1 parent 1569708 commit de072e5

File tree

2 files changed

+38
-1
lines changed

2 files changed

+38
-1
lines changed

docs/targets/alibabaoss.md

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
# Event Target for Alibaba OSS
2+
3+
This event target receives [CloudEvents][ce] over HTTP and sends them to [Alibaba OSS][oss]
4+
creating a new file containing the event data.
5+
6+
## Prerequisite(s)
7+
8+
- Alibaba Cloud account.
9+
- The [Access Key ID and Secret Access Key](https://www.alibabacloud.com/help/faq-detail/142101.htm) associated to the account.
10+
11+
## Deploying an Instance of the Target
12+
13+
Open the Bridge creation screen and add a target of type `Alibaba OSS`.
14+
15+
In the Target creation form, give a name to the event Target and add the following information:
16+
17+
- **Secret**: Reference to a [TriggerMesh secret](../guides/secrets.md) containing the Access Key ID and Secret Access Key.
18+
- **Endpoint**: The OSS [endpoint](https://www.alibabacloud.com/help/doc-detail/31834.html?spm=a2c5t.11065259.1996646101.searchclickresult.66795207QoTOLE).
19+
- **Bucket**: The OSS [Bucket](https://www.alibabacloud.com/help/doc-detail/32135.html?spm=a2c5t.11065259.1996646101.searchclickresult.76164406aMCICT).
20+
21+
After clicking the `Save` button, you will be taken back to the Bridge editor. Proceed by adding the remaining
22+
components to the Bridge, then submit it.
23+
24+
A ready status on the main _Bridges_ page indicates that the Alibaba OSS target is ready to accept events.
25+
26+
For more information about using Alibaba OSS, please refer to the [documentation](https://www.alibabacloud.com/help/product/31815.htm?spm=a3c0i.7950270.1834322160.3.5761ab91f9PlWp).
27+
28+
## Event Types
29+
### Arbitrary
30+
This target will consume arbitrary events and upload them into a table with the Cloudevent ID as the object key.
31+
32+
The response event type will contain the original event type with `.response` appended to the end.
33+
34+
[ce]: https://cloudevents.io/
35+
[ce-jsonformat]: https://github.com/cloudevents/spec/blob/v1.0/json-format.md
36+
[oss]: https://www.alibabacloud.com/product/oss

docs/targets/index.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@
33
The following is a list of Triggermesh event destinations known as `Targets`. Some are available as open source projects, some as hosted solutions on our Cloud.
44

55
## Current TriggerMesh Targets
6-
6+
- Alibaba
7+
- [Alibaba OSS](./alibabaoss.md): Forward arbitrary events to an Alibaba Cloud OSS bucket.
78
- AWS
89
- [AWS Comprehend](./awscomprehend.md): Perform sentiment analysis on cloudevents.
910
- [AWS Lambda](./awslambda.md): Forward event payload to AWS Lambda.

0 commit comments

Comments
 (0)