Interface KeyValueStoreProps

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
KeyValueStoreProps.Jsii$Proxy

@Generated(value="jsii-pacmak/1.93.0 (build 1706ca5)", date="2024-01-03T18:29:22.842Z") @Stability(Stable) public interface KeyValueStoreProps extends software.amazon.jsii.JsiiSerializable
The properties to create a Key Value Store.

Example:

 KeyValueStore store = KeyValueStore.Builder.create(this, "KeyValueStore")
         .keyValueStoreName("KeyValueStore")
         .source(ImportSource.fromAsset("path-to-data.json"))
         .build();
 
  • Method Details

    • getComment

      @Stability(Stable) @Nullable default String getComment()
      A comment for the Key Value Store.

      Default: No comment will be specified

    • getKeyValueStoreName

      @Stability(Stable) @Nullable default String getKeyValueStoreName()
      The unique name of the Key Value Store.

      Default: A generated name

    • getSource

      @Stability(Stable) @Nullable default ImportSource getSource()
      The import source for the Key Value Store.

      This will populate the initial items in the Key Value Store. The source data must be in a valid JSON format.

      Default: No data will be imported to the store

    • builder

      @Stability(Stable) static KeyValueStoreProps.Builder builder()
      Returns:
      a KeyValueStoreProps.Builder of KeyValueStoreProps