-
Notifications
You must be signed in to change notification settings - Fork 2k
/
DynamoDBClusteringOptions.cs
38 lines (32 loc) · 1.16 KB
/
DynamoDBClusteringOptions.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
using Orleans.Clustering.DynamoDB;
namespace Orleans.Configuration
{
public class DynamoDBClusteringOptions : DynamoDBClientOptions
{
/// <summary>
/// Read capacity unit for DynamoDB storage
/// </summary>
public int ReadCapacityUnits { get; set; } = DynamoDBStorage.DefaultReadCapacityUnits;
/// <summary>
/// Write capacity unit for DynamoDB storage
/// </summary>
public int WriteCapacityUnits { get; set; } = DynamoDBStorage.DefaultWriteCapacityUnits;
/// <summary>
/// Use Provisioned Throughput for tables
/// </summary>
public bool UseProvisionedThroughput { get; set; } = true;
/// <summary>
/// Create the table if it doesn't exist
/// </summary>
public bool CreateIfNotExists { get; set; } = true;
/// <summary>
/// Update the table if it exists
/// </summary>
public bool UpdateIfExists { get; set; } = true;
/// <summary>
/// DynamoDB table name.
/// Defaults to 'OrleansSilos'.
/// </summary>
public string TableName { get; set; } = "OrleansSilos";
}
}