ShareX/ShareX.UploadersLib/FileUploaders/AmazonS3Settings.cs

49 lines
1.9 KiB
C#
Raw Normal View History

2015-06-08 01:34:33 +12:00
#region License Information (GPL v3)
/*
ShareX - A program that allows you to take screenshots and share any file type
2023-01-10 09:31:02 +13:00
Copyright (c) 2007-2023 ShareX Team
2015-06-08 01:34:33 +12:00
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
Optionally you can also view the license at <http://www.gnu.org/licenses/>.
*/
#endregion License Information (GPL v3)
2020-05-31 01:34:35 +12:00
using ShareX.HelpersLib;
2015-06-08 01:34:33 +12:00
namespace ShareX.UploadersLib.FileUploaders
{
public class AmazonS3Settings
{
public string AccessKeyID { get; set; }
2020-05-31 01:34:35 +12:00
[JsonEncrypt]
2015-06-08 01:34:33 +12:00
public string SecretAccessKey { get; set; }
2017-03-21 00:26:44 +13:00
public string Endpoint { get; set; }
public string Region { get; set; }
public bool UsePathStyle { get; set; }
2015-06-08 01:34:33 +12:00
public string Bucket { get; set; }
public string ObjectPrefix { get; set; }
public bool UseCustomCNAME { get; set; }
public string CustomDomain { get; set; }
public AmazonS3StorageClass StorageClass { get; set; }
2018-12-05 05:10:01 +13:00
public bool SetPublicACL { get; set; } = true;
public bool SignedPayload { get; set; }
public bool RemoveExtensionImage { get; set; }
public bool RemoveExtensionVideo { get; set; }
public bool RemoveExtensionText { get; set; }
2015-06-08 01:34:33 +12:00
}
}