forked from aliyun/ros-templates
-
Notifications
You must be signed in to change notification settings - Fork 0
/
retcode-app.yml
46 lines (46 loc) · 986 Bytes
/
retcode-app.yml
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
ROSTemplateFormatVersion: '2015-09-01'
Description:
zh-cn: 创建ARMS Retcode应用,支持多种类型,可选地域,自动获取AppId与Pid。
en: Create an ARMS Retcode application, supporting multiple types, with optional
regions, and automatically acquiring AppId and Pid.
Parameters:
RetcodeAppType:
Type: String
Default: web
AllowedValues:
- web
- weex
- mini_dd
- mini_alipay
- mini_wx
- mini_common
RegionId:
Type: String
Default: cn-hangzhou
AllowedValues:
- cn-hangzhou
- ap-southeast-1
RetcodeAppName:
Type: String
Default: mytest
Resources:
RetcodeApp:
Type: ALIYUN::ARMS::RetcodeApp
Properties:
RetcodeAppType:
Ref: RetcodeAppType
RegionId:
Ref: RegionId
RetcodeAppName:
Ref: RetcodeAppName
Outputs:
AppId:
Value:
Fn::GetAtt:
- RetcodeApp
- AppId
Pid:
Value:
Fn::GetAtt:
- RetcodeApp
- Pid