-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpublish.yaml
120 lines (120 loc) · 2.9 KB
/
publish.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
Edition: 3.0.0
Type: Project
Name: sync-oss-bucket
Version: 0.0.5
Provider:
- 阿里云
Description: 将一个 OSS Bucket 中的内容同步到另一个 OSS Bucket
HomePage: https://github.com/devsapp/sync-oss-bucket
Tags:
- OSS
Category: 其它
Service:
函数计算:
Authorities:
- AliyunFCFullAccess
Organization: 阿里云函数计算(FC)
Effective: Public
Parameters:
type: object
additionalProperties: false
required:
- sourceRegion
- sourceBucket
- destinationRegion
- destinationBucket
- managerFunctionName
- workerFunctionName
- role
properties:
sourceRegion:
title: 源OSS所在地域
type: string
default: ""
description: 源OSS存储桶所在地域
x-region: all
enum:
- cn-beijing
- cn-hangzhou
- cn-shanghai
- cn-qingdao
- cn-zhangjiakou
- cn-huhehaote
- cn-shenzhen
- cn-chengdu
- cn-hongkong
- ap-southeast-1
- ap-southeast-3
- ap-southeast-5
- ap-southeast-7
- ap-northeast-1
- ap-northeast-2
- eu-central-1
- eu-west-1
- us-west-1
- us-east-1
sourceBucket:
title: 源OSS存储桶名
type: string
default: ""
description: 源OSS存储桶名
x-bucket:
dependency:
- sourceRegion
destinationRegion:
title: 目标OSS所在地域
type: string
default: ""
description: 目标OSS存储桶所在地域
x-region: all
enum:
- cn-beijing
- cn-hangzhou
- cn-shanghai
- cn-qingdao
- cn-zhangjiakou
- cn-huhehaote
- cn-shenzhen
- cn-chengdu
- cn-hongkong
- ap-southeast-1
- ap-southeast-3
- ap-southeast-5
- ap-southeast-7
- ap-northeast-1
- ap-northeast-2
- eu-central-1
- eu-west-1
- us-west-1
- us-east-1
destinationBucket:
title: 目标OSS存储桶名
type: string
default: ""
description: 目标OSS存储桶名
x-bucket:
dependency:
- destinationRegion
managerFunctionName:
title: Manager 函数名
type: string
default: sync-oss-manager-${default-suffix}
description: Manager 函数名
workerFunctionName:
title: Worker 函数的名称
type: string
default: sync-oss-worker-${default-suffix}
description: Worker 函数的名称
role:
title: RAM 角色
type: string
default: ""
description: 我们会用此角色生成临时密钥来访问 OSS 和 FC。
x-role:
type: object
pattern: "^acs:ram::[0-9]*:role/.*$"
service: fc
description: 我们会用此角色生成临时密钥来访问 OSS 和 FC。
authorities:
- AliyunOSSFullAccess
- AliyunFCInvocationAccess