Select your cookie preferences

We use essential cookies and similar tools that are necessary to provide our site and services. We use performance cookies to collect anonymous statistics, so we can understand how customers use our site and make improvements. Essential cookies cannot be deactivated, but you can choose “Customize” or “Decline” to decline performance cookies.

If you agree, AWS and approved third parties will also use cookies to provide useful site features, remember your preferences, and display relevant content, including relevant advertising. To accept or decline all non-essential cookies, choose “Accept” or “Decline.” To make more detailed choices, choose “Customize.”

File format for key-value pairs

Focus mode
File format for key-value pairs - Amazon CloudFront

When you create a UTF-8 encoded file, use the following JSON format:

{ "data":[ { "key":"key1", "value":"value" }, { "key":"key2", "value":"value" } ] }

Your file can't include duplicate keys. If you specified an invalid file in your Amazon S3 bucket, you can update the file to remove any duplicates and then try creating your key value store again.

For more information, see Create a key value store.

Note

The file for your data source and its key-value pairs have the following limits:

  • File size – 5 MB

  • Key size – 512 characters

  • Value size – 1024 characters

PrivacySite termsCookie preferences
© 2025, Amazon Web Services, Inc. or its affiliates. All rights reserved.