UNPKG

1.29 kBJSONView Raw
1{
2 "parameters_schema": {
3 "invoker_config": {
4 "$schema": "http://json-schema.org/draft-04/schema#",
5 "type": "object",
6 "properties": {
7 "env": {
8 "description": "Environment variables; overrides environment variables mapped from parameters",
9 "type": "object"
10 },
11 "stdin": {
12 "description": "Standard input; overrides standard input mapped from a parameter",
13 "type": "string"
14 },
15 "access": {
16 "description": "Currently supported access mechanisms: local, ssh",
17 "type": "string",
18 "default": "local"
19 },
20 "ssh_port": {
21 "description": "SSH port",
22 "type": "integer",
23 "default": 22
24 },
25 "ssh_host": {
26 "description": "SSH host (DNS name or IP address)",
27 "type": "integer"
28 },
29 "ssh_user": {
30 "description": "SSH username",
31 "type": "string",
32 "default": "ubuntu"
33 },
34 "ssh_private_key": {
35 "description": "SSH private key",
36 "type": "string"
37 }
38 },
39 "required": [ "access" ]
40 },
41 "cmd": {
42 "description": "Shell command",
43 "type": "string",
44 "default": "sh script.sh"
45 }
46 }
47}
48