# DynamoDBStorage.DynamoDBStorage(ILogger, string, string?, string?, string?, string?, int, int, bool, bool, bool)

[Type overview](/orleans/docs/api/csharp/microsoft.orleans.transactions.dynamodb/orleans.transactions.dynamodb.dynamodbstorage/) | [Constructors](/orleans/docs/api/csharp/microsoft.orleans.transactions.dynamodb/orleans.transactions.dynamodb.dynamodbstorage/constructors/)

[Source](https://github.com/dotnet/orleans/blob/b7a9e3e1c9c54b3cec3a467c5734bf7744541bcf/src/AWS/Shared/Storage/DynamoDBStorage.cs#L51-L99)

```csharp
public DynamoDBStorage(ILogger logger, string service, string? accessKey = "", string? secretKey = "", string? token = "", string? profileName = "", int readCapacityUnits = 10, int writeCapacityUnits = 5, bool useProvisionedThroughput = true, bool createIfNotExists = true, bool updateIfExists = true)
```

Create a DynamoDBStorage instance

### Parameters

- `logger` (`ILogger`)
- `service` (`string`)
- `accessKey` (`string?`)
- `secretKey` (`string?`)
- `token` (`string?`)
- `profileName` (`string?`)
- `readCapacityUnits` (`int`)
- `writeCapacityUnits` (`int`)
- `useProvisionedThroughput` (`bool`)
- `createIfNotExists` (`bool`)
- `updateIfExists` (`bool`)
