# S3JournalStorageOptions.ConfigureS3Client(Func&lt;CancellationToken, Task&lt;IAmazonS3&gt;&gt;)

[Type overview](/orleans/docs/api/csharp/microsoft.orleans.durable.s3/orleans.durable.journaling.s3journalstorageoptions/) | [Methods](/orleans/docs/api/csharp/microsoft.orleans.durable.s3/orleans.durable.journaling.s3journalstorageoptions/methods/)

[Source](https://github.com/dotnet/orleans/blob/4e887e9c914a2f2647fb3c81de963511521dd9cb/src/AWS/Orleans.Durable.S3/S3JournalStorageOptions.cs#L227-L230)

```csharp
public void ConfigureS3Client(Func<CancellationToken, Task<IAmazonS3>> createClientCallback)
```

Configures the S3 client using the provided callback.

### Parameters

- `createClientCallback` (`Func<CancellationToken, Task<IAmazonS3>>`)
