forked from elasticio/aws-sns-component
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcomponent.json
58 lines (58 loc) · 2.07 KB
/
component.json
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
{
"title": "Amazon SNS",
"description": "Component to work with Amazon SNS",
"version": "1.2.4",
"credentials": {
"fields": {
"accessKeyId": {
"label": "Access Key Id",
"required": true,
"viewClass": "TextFieldView"
},
"accessKeySecret": {
"label": "Secret Access Key",
"required": true,
"viewClass": "TextFieldView"
}
}
},
"actions": {
"publish": {
"main": "./lib/actions/publish.js",
"help": {
"description": "This action will publish a message to SNS Topic",
"link": "/components/aws-sns/index.html#publish"
},
"title": "Publish",
"fields": {
"topicArn": {
"label": "TopicArn",
"required": true,
"viewClass": "TextFieldView",
"placeholder" : "arn:aws:sns:eu-west-1:123456789:mysnsrocks"
},
"region": {
"label": "AWS Region",
"required": true,
"viewClass": "SelectView",
"prompt": "Please choose",
"model": {
"us-east-1": "US East (N. Virginia)",
"us-west-1": "US West (N. California)",
"us-west-2": "US West (Oregon)",
"eu-west-1": "EU (Ireland)",
"eu-central-1": "EU (Frankfurt)",
"ap-northeast-1": "Asia Pacific (Tokyo)",
"ap-northeast-2": "Asia Pacific (Seoul)",
"ap-southeast-1": "Asia Pacific (Singapore)",
"ap-southeast-2": "Asia Pacific (Sydney)",
"sa-east-1": "South America (Sao Paulo)"
}
}
},
"metadata": {
"out": "./lib/schemas/publish.out.json"
}
}
}
}