2 Antworten
- Neueste
- Die meisten Stimmen
- Die meisten Kommentare
1
Hi, I found this document that might help you.
Pre-provision hook return value
The Lambda function must return a response that indicates whether it has authorized the provisioning request and the values of any properties to override.
The following is an example of a successful response from the pre-provisioning function.
{
"allowProvisioning": true,
"parameterOverrides" : {
"Key": "newCustomValue",
...
}
}
beantwortet vor 8 Monaten
0
I tested each of them in a JavaScript-based Lambda and they worked. This also worked:
{ "allowProvisioning": 1 }
My results may be language-dependent.
beantwortet vor 8 Monaten
Relevanter Inhalt
- Wie veröffentliche ich MQTT-Nachrichten von meinem Gerät auf AWS IoT Core, wenn ich Python verwende?AWS OFFICIALAktualisiert vor 3 Jahren
- AWS OFFICIALAktualisiert vor 2 Jahren
- AWS OFFICIALAktualisiert vor 3 Jahren
Yes, but then, below, the JavaScript and Python examples there each show something different. And I even thought I saw "allowProvisioning": "true" on a different website. Do you have experience using pre-provisioning hook Lambdas?