-
Notifications
You must be signed in to change notification settings - Fork 40
/
Copy pathfunction.conf
24 lines (23 loc) · 940 Bytes
/
function.conf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
conf {
language = "JAVA8"
encodingType = "Json"
functionName = "CDDDockerJava"
handlerName = "com.amazonaws.greengrass.cdddocker.App::"${conf.javaJsonHandler}
aliasName = "PROD"
memorySizeInKb = 256000
pinned = true
timeoutInSeconds = 60
fromCloudSubscriptions = [${AWS_IOT_THING_NAME}"/cdd/docker/request"]
toCloudSubscriptions = [${AWS_IOT_THING_NAME}"/cdd/docker/response"]
outputTopics = [${AWS_IOT_THING_NAME}"/cdd/docker/response"]
inputTopics = [${AWS_IOT_THING_NAME}"/cdd/docker/request"]
// For access to Unix sockets this function must run outside of the Greengrass container
greengrassContainer = false
// Sometimes to access Docker the user needs to be root, this can be changed if that is not true on the destination host
uid = 0
gid = 0
// Specify DOCKER_HOST if the host is located elsewhere or is to be used via TCP
// environment {
// DOCKER_HOST = "tcp://127.0.0.1:2375"
// }
}