Files
greengrass-v2-components/Commands/recipes/hp.greengrass.Commands.json
2021-12-08 15:59:50 -06:00

47 lines
1.3 KiB
JSON

{
"RecipeFormatVersion": "2020-01-25",
"ComponentName": "hp.greengrass.Commands",
"ComponentVersion": "1.0.0",
"ComponentDescription": "A AWS IOT Greengrass component for sending commands to devices",
"ComponentPublisher": "HenryPump",
"ComponentConfiguration": {
"DefaultConfiguration": {
"accessControl": {
"aws.greengrass.ipc.mqttproxy": {
"hp.greengrass.Commands:mqttproxy:1": {
"policyDescription": "Allows access to subscribe to all topics.",
"operations": [
"aws.greengrass#SubscribeToIoTCore"
],
"resources": [
"*"
]
}
}
}
}
},
"Manifests": [
{
"Platform": {
"os": "linux"
},
"Lifecycle": {
"Install": "pip3 install -r {artifacts:path}/requirements.txt",
"Run": "python3 -u {artifacts:path}/Commands.py"
},
"Artifacts": [
{
"URI": "s3://hp-greengrass-components/artifacts/hp.greengrass.Commands/1.0.0/Commands.py"
},
{
"URI": "s3://hp-greengrass-components/artifacts/hp.greengrass.Commands/1.0.0/stream_manager_sdk.zip",
"Unarchive": "ZIP"
},
{
"URI": "s3://hp-greengrass-components/artifacts/hp.greengrass.Commands/1.0.0/requirements.txt"
}
]
}
]
}