aws::cloudfront-key-value-store

Creates a CloudFront KeyValueStore.

Example

aws::cloudfront-key-value-store kvs-example
    name: "kvs-example"
    comment: "Sample KV Store"

    key-values: {
        "key-1": "true",
        "foo": "bar"
    }
end
aws::cloudfront-key-value-store kvs-example-2
    name: "kvs-example-2"
    comment: "Sample KV Store with s3"

    import-source
       source-type: "S3"
       source-arn: "arn:aws:s3:::my-bucket/kvs-data.json"
    end
end

Attributes

Attribute Description
name The name of the key value store. (Required)
comment A comment describing the key value store.
key-values map The key-value pairs stored in this KeyValueStore. Cannot be set if import-source is set.
import-source subresource

The S3 import source for initially populating the key value store.

This can be specified only during creation. The S3 bucket must contain a valid JSON file. Cannot be set if key-values is set.

source-type
The source type of the import source. Currently only S3 is supported. Currently the only supported value is S3. (Required)
source-arn
The ARN of the S3 object containing the import data. (Required)

Outputs

Attribute Description
id The unique ID of the key value store.
arn The Amazon Resource Name (ARN) of the key value store.
status The status of the key value store.
etag The current ETag/version identifier of the key value store.
kvs-etag The current ETag/version identifier of the key value store contents.