Get a reference to a key value store - Amazon CloudFront
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

Get a reference to a key value store

To work with the key value stores programmatically, you need the ETag and the name of the key value store. To get this data, use the CloudFront API or your preferred Amazon SDK.

To get the key value store reference
  1. Use the CloudFront ListKeyValueStores API operation to return a list of key value stores. Find the name of the key value store that you want to change.

  2. Use the CloudFront DescribeKeyValueStore API operation and specify the name of the key value store that you returned from the previous step.

The response includes a UUID, the ARN of the key value store, and the ETag of the key value store.

  • The UUID is 128 bits, like the following example:

    a1b2c3d4-5678-90ab-cdef-EXAMPLE11111

  • The ARN includes the Amazon Web Services account number, the constant key-value-store, and the UUID, like the following example:

    arn:aws:cloudfront::111122223333:key-value-store/a1b2c3d4-5678-90ab-cdef-EXAMPLE11111

  • An ETag, like the following example:

    ETVABCEXAMPLE2

For more information about the DescribeKeyValueStore operation, see About the CloudFront KeyValueStore.