-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathsimple-aws-config.html
53 lines (52 loc) · 2.15 KB
/
simple-aws-config.html
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
<script type="text/javascript">
RED.nodes.registerType('AWS Config',{
category: 'config',
defaults: {
name: {value:"AWS Config"},
region: { value: "us-east-1", required: true }
},
credentials: {
accessKey: {type:"text"},
secretKey: {type:"password"}
},
label: function() {
return this.name;
}
});
</script>
<script type="text/x-red" data-template-name="AWS Config">
<div class="form-row">
<label for="node-config-input-name"><i class="fa fa-tag"></i> Name</label>
<input type="text" id="node-config-input-name">
</div>
<div class="form-row">
<label for="node-config-input-region"><i class="fa fa-wrench"></i> Region</label>
<select id="node-config-input-region">
<option value="ap-northeast-1">ap-northeast-1</option>
<option value="ap-northeast-2">ap-northeast-2</option>
<option value="ap-northeast-3">ap-northeast-3</option>
<option value="ap-south-1">ap-south-1</option>
<option value="ap-southeast-1">ap-southeast-1</option>
<option value="ap-southeast-2">ap-southeast-2</option>
<option value="ca-central-1">ca-central-1</option>
<option value="eu-central-1">eu-central-1</option>
<option value="eu-north-1">eu-north-1</option>
<option value="eu-west-1">eu-west-1</option>
<option value="eu-west-2">eu-west-2</option>
<option value="eu-west-3">eu-west-3</option>
<option value="sa-east-1">sa-east-1</option>
<option value="us-east-1">us-east-1</option>
<option value="us-east-2">us-east-2</option>
<option value="us-west-1">us-west-1</option>
<option value="us-west-2">us-west-2</option>
</select>
</div>
<div class="form-row">
<label for="node-config-input-accessKey"><i class="icon-bookmark"></i> Access Id</label>
<input type="text" id="node-config-input-accessKey">
</div>
<div class="form-row">
<label for="node-config-input-secretKey"><i class="icon-bookmark"></i> Secret Key</label>
<input type="password" id="node-config-input-secretKey">
</div>
</script>