-
Notifications
You must be signed in to change notification settings - Fork 0
/
component_recipe.json
46 lines (46 loc) · 1.28 KB
/
component_recipe.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
{
"RecipeFormatVersion": "2020-01-25",
"ComponentName": "AV_PubSub",
"ComponentVersion": "1.0.0",
"ComponentType": "aws.greengrass.generic",
"ComponentDescription": "This component subscribes to 'av_image_detection/request' topic and responses to messages on 'av_image_detection/response'",
"ComponentPublisher": "<Name>",
"ComponentConfiguration": {
"DefaultConfiguration": {
"accessControl": {
"aws.greengrass.ipc.mqttproxy": {
"com.example.MyIoTCorePubSubComponent:mqttproxy:1": {
"policyDescription": "Allows access to publish/subscribe to all topics.",
"operations": [
"aws.greengrass#PublishToIoTCore",
"aws.greengrass#SubscribeToIoTCore"
],
"resources": [
"*"
]
}
}
}
}
},
"ComponentDependencies": {
"aws.greengrass.TokenExchangeService": {
"VersionRequirement": ">=2.0.0 <3.0.0",
"DependencyType": "HARD"
}
},
"Manifests": [
{
"Lifecycle": {
"Install": "pip3 install --user awsiotsdk boto3 opencv-python",
"Run": "python3 -u {artifacts:path}/AVPubSub.py autonomous-vehicle-iot-proj-bucket av_image_detection/request av_image_detection/response\n"
},
"Artifacts": [
{
"Uri": "s3://autonomous-vehicle-iot-proj-bucket/artifacts/AVPubSub.py"
}
]
}
],
"Lifecycle": {}
}