Skip to content

DynamoDBStorageOptions Properties

Configures the DynamoDB grain storage provider.

DeleteStateOnClear

getset
View source
public bool DeleteStateOnClear
Indicates if grain data should be deleted or reset to defaults when a grain clears it's state.

InitStage

getset
View source
public int InitStage
Stage of silo lifecycle where storage should be initialized. Storage must be initialized prior to use.

ServiceId

getset
View source
public string ServiceId
Gets or sets a unique identifier for this service, which should survive deployment and redeployment.

TableName

getset
View source
public string TableName
DynamoDB table name. Defaults to 'OrleansGrainState'.

TimeToLive

getset
View source
public TimeSpan? TimeToLive
Specifies a time span in which the item would be expired in the future every StateWrite will increase the TTL of the grain