Associate a key value store with a function
After you create your key value store, you can update your function to associate it with your key value store. You must make this association to use the key-value pairs from that store in that function. The following rules apply:
-
A function can have only one key value store
-
You can associate the same key value store with multiple functions
Notes
-
If you modify a key value store without changing the key-value pairs, or if you only modify the key-value pairs in the key value store, you don't need to associate the key value store again. You also don't need to republish the function.
However, we recommend that you test the function to verify that it works as expected. For more information, see Test functions.
-
You can view all the functions that use specific key value stores. On the CloudFront console, choose the key value store details page.