Type Alias linera_views::backends::dynamo_db::DynamoDbStoreConfig
source · pub type DynamoDbStoreConfig = LruCachingConfig<DynamoDbStoreInternalConfig>;
Expand description
The config type for DynamoDbStore
`
Aliased Type§
struct DynamoDbStoreConfig {
pub inner_config: DynamoDbStoreInternalConfig,
pub cache_size: usize,
}
Fields§
§inner_config: DynamoDbStoreInternalConfig
The inner configuration of the LruCachingStore
.
cache_size: usize
The cache size being used
Implementations§
source§impl DynamoDbStoreConfig
impl DynamoDbStoreConfig
sourcepub fn new(
use_localstack: bool,
common_config: CommonStoreConfig,
) -> DynamoDbStoreConfig
pub fn new( use_localstack: bool, common_config: CommonStoreConfig, ) -> DynamoDbStoreConfig
Creates a DynamoDbStoreConfig
from the input.