2 Answers
- Newest
- Most votes
- Most comments
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",
...
}
}
answered 7 months ago
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.
answered 7 months ago
Relevant content
- Accepted Answerasked a year ago
- asked 7 months ago
- AWS OFFICIALUpdated 3 months ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated 3 years ago
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?