Skip to content

Specifies the key value store resource to add to your account

Description

Specifies the key value store resource to add to your account. In your account, the key value store names must be unique. You can also import key value store data in JSON format from an S3 bucket by providing a valid ImportSource that you own.

Usage

cloudfront_create_key_value_store(Name, Comment, ImportSource, Tags)

Arguments

  • Name

    [required] The name of the key value store. The minimum length is 1 character and the maximum length is 64 characters.

  • Comment

    The comment of the key value store.

  • ImportSource

    The S3 bucket that provides the source for the import. The source must be in a valid JSON format.

  • Tags

    A complex type that contains zero or more Tag elements.

Value

A list with the following syntax:

list(
  KeyValueStore = list(
    Name = "string",
    Id = "string",
    Comment = "string",
    ARN = "string",
    Status = "string",
    LastModifiedTime = as.POSIXct(
      "2015-01-01"
    )
  ),
  ETag = "string",
  Location = "string"
)

Request syntax

svc$create_key_value_store(
  Name = "string",
  Comment = "string",
  ImportSource = list(
    SourceType = "S3",
    SourceARN = "string"
  ),
  Tags = list(
    Items = list(
      list(
        Key = "string",
        Value = "string"
      )
    )
  )
)