Work with key value store
You must create a key value store to hold the key-value pairs that you want to use in CloudFront Functions.
After you create the key value stores and added key-value pairs, you can use the key values in your CloudFront function code.
To get started, see the following topics:
Topics
Note
The JavaScript runtime 2.0 includes some helper methods for working with key values in the function code. For more information, see Helper methods for key value stores.