Ramstack.FileSystem.Amazon 1.0.0-preview.7

This is a prerelease version of Ramstack.FileSystem.Amazon.
There is a newer version of this package available.
See the version list below for details.
dotnet add package Ramstack.FileSystem.Amazon --version 1.0.0-preview.7                
NuGet\Install-Package Ramstack.FileSystem.Amazon -Version 1.0.0-preview.7                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Ramstack.FileSystem.Amazon" Version="1.0.0-preview.7" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Ramstack.FileSystem.Amazon --version 1.0.0-preview.7                
#r "nuget: Ramstack.FileSystem.Amazon, 1.0.0-preview.7"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install Ramstack.FileSystem.Amazon as a Cake Addin
#addin nuget:?package=Ramstack.FileSystem.Amazon&version=1.0.0-preview.7&prerelease

// Install Ramstack.FileSystem.Amazon as a Cake Tool
#tool nuget:?package=Ramstack.FileSystem.Amazon&version=1.0.0-preview.7&prerelease                

Ramstack.FileSystem.Amazon

Provides an implementation of Ramstack.FileSystem using Amazon S3 storage.

Getting Started

To install the Ramstack.FileSystem.Amazon NuGet package in your project, run the following command:

dotnet add package Ramstack.FileSystem.Amazon

Usage

using Ramstack.FileSystem.Amazon;

AmazonS3FileSystem fs = new AmazonS3FileSystem(
    accessKeyId: "...",
    secretAccessKey: "...",
    region: RegionEndpoint.USEast1,
    bucketName: "my-storage");

// Create S3 bucket if it doesn't exist
await fs.CreateBucketAsync(AccessControl.Private);

await foreach (VirtualFile file in fs.GetFilesAsync("/"))
{
    Console.WriteLine(node.Name);
}

You can also configure the file system to be read-only:

AmazonS3FileSystem fs = new AmazonS3FileSystem(
    accessKeyId: "...",
    secretAccessKey: "...",
    region: RegionEndpoint.USEast1,
    bucketName: "my-storage")
{
    IsReadOnly = true
};

Supported versions

Version
.NET 6, 7, 8

Contributions

Bug reports and contributions are welcome.

License

This package is released as open source under the MIT License. See the LICENSE file for more details.

Product Compatible and additional computed target framework versions.
.NET net6.0 is compatible.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.1.1 115 9/14/2024
1.1.0 86 9/14/2024
1.0.1 98 9/13/2024
1.0.0 98 9/13/2024
1.0.0-preview.9 56 9/10/2024
1.0.0-preview.8 55 9/5/2024
1.0.0-preview.7 52 9/4/2024
1.0.0-preview.6 58 9/3/2024
1.0.0-preview.5 53 8/30/2024