-
-
Notifications
You must be signed in to change notification settings - Fork 180
Expand file tree
/
Copy pathS3FileSystemOptions.cs
More file actions
48 lines (42 loc) · 1.35 KB
/
S3FileSystemOptions.cs
File metadata and controls
48 lines (42 loc) · 1.35 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
40
41
42
43
44
45
46
47
48
// <copyright file="S3FileSystemOptions.cs" company="Fubar Development Junker">
// Copyright (c) Fubar Development Junker. All rights reserved.
// </copyright>
namespace FubarDev.FtpServer.FileSystem.S3
{
/// <summary>
/// Options for the S3 file system.
/// </summary>
public class S3FileSystemOptions
{
/// <summary>
/// Gets or sets the root path.
/// </summary>
public string? RootPath { get; set; }
/// <summary>
/// Gets or sets the AWS access key.
/// </summary>
public string? AwsAccessKeyId { get; set; }
/// <summary>
/// Gets or sets the AWS secret key.
/// </summary>
public string? AwsSecretAccessKey { get; set; }
/// <summary>
/// Gets or sets the S3 bucket region.
/// </summary>
/// <remarks>
/// It may be a region identifier like <c>us-west-1</c>.
/// </remarks>
public string? BucketRegion { get; set; }
/// <summary>
/// Gets or sets the S3 service URL.
/// </summary>
/// <remarks>
/// Takes precedence over BucketRegion.
/// </remarks>
public string? ServiceUrl { get; set; }
/// <summary>
/// Gets or sets the S3 bucket name.
/// </summary>
public string? BucketName { get; set; }
}
}