-
-
Notifications
You must be signed in to change notification settings - Fork 103
Expand file tree
/
Copy pathAWSS3StorageCacheOptions.cs
More file actions
39 lines (29 loc) · 1.07 KB
/
AWSS3StorageCacheOptions.cs
File metadata and controls
39 lines (29 loc) · 1.07 KB
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
39
// Copyright (c) Six Labors.
// Licensed under the Six Labors Split License.
namespace SixLabors.ImageSharp.Web.AWS.Caching;
/// <summary>
/// Configuration options for the <see cref="AWSS3StorageCache"/> provider.
/// </summary>
public class AWSS3StorageCacheOptions : IAWSS3BucketClientOptions
{
/// <inheritdoc/>
public Func<IAWSS3BucketClientOptions, IServiceProvider, AmazonS3BucketClient>? S3ClientFactory { get; set; }
/// <inheritdoc/>
public string? Region { get; set; }
/// <inheritdoc/>
public string BucketName { get; set; } = null!;
/// <summary>
/// Gets or sets the cache folder's name that'll store cache files under the configured bucket.
/// </summary>
public string? CacheFolder { get; set; }
/// <inheritdoc/>
public string? AccessKey { get; set; }
/// <inheritdoc/>
public string? AccessSecret { get; set; }
/// <inheritdoc/>
public string? Endpoint { get; set; }
/// <inheritdoc/>
public bool UseAccelerateEndpoint { get; set; }
/// <inheritdoc/>
public TimeSpan? Timeout { get; set; }
}