DynamoDBStorageOptions
class
Namespace: Orleans.Configuration
Configures the DynamoDB grain storage provider.
public class DynamoDBStorageOptions : DynamoDBClientOptions, IStorageProviderSerializerOptionsConstructors
Properties
CreateIfNotExistsCreate the table if it doesn't existDeleteStateOnClearIndicates if grain data should be deleted or reset to defaults when a grain clears it's state.GrainStorageSerializerGets or sets the serializer to use for this storage provider.InitStageStage of silo lifecycle where storage should be initialized. Storage must be initialized prior to use.ReadCapacityUnitsRead capacity unit for DynamoDB storageServiceIdGets or sets a unique identifier for this service, which should survive deployment and redeployment.TableNameDynamoDB table name. Defaults to 'OrleansGrainState'.TimeToLiveSpecifies a time span in which the item would be expired in the future every StateWrite will increase the TTL of the grainUpdateIfExistsUpdate the table if it existsUseProvisionedThroughputUse Provisioned Throughput for tablesWriteCapacityUnitsWrite capacity unit for DynamoDB storage
Fields
DEFAULT_INIT_STAGEThe default silo lifecycle stage at which the storage provider is initialized.
