Skip to content

DynamoDBStorageOptions

class

Namespace: Orleans.Configuration

Supports all classes in the .NET class hierarchy and provides low-level services to derived classes. This is the ultimate base class of all .NET classes; it is the root of the type hierarchy.
public class DynamoDBStorageOptions : DynamoDBClientOptions, IStorageProviderSerializerOptions

Constructors

Properties

  • CreateIfNotExists Create the table if it doesn't exist
  • DeleteStateOnClear Indicates if grain data should be deleted or reset to defaults when a grain clears it's state.
  • GrainStorageSerializer Gets or sets the serializer to use for this storage provider.
  • InitStage Stage of silo lifecycle where storage should be initialized. Storage must be initialized prior to use.
  • ReadCapacityUnits Read capacity unit for DynamoDB storage
  • ServiceId Gets or sets a unique identifier for this service, which should survive deployment and redeployment.
  • TableName DynamoDB table name. Defaults to 'OrleansGrainState'.
  • TimeToLive Specifies a time span in which the item would be expired in the future every StateWrite will increase the TTL of the grain
  • UpdateIfExists Update the table if it exists
  • UseProvisionedThroughput Use Provisioned Throughput for tables
  • WriteCapacityUnits Write capacity unit for DynamoDB storage

Fields