Altemiq.Aspire.Hosting.AWS.Configuration 9.4.0

There is a newer version of this package available.
See the version list below for details.
dotnet add package Altemiq.Aspire.Hosting.AWS.Configuration --version 9.4.0
                    
NuGet\Install-Package Altemiq.Aspire.Hosting.AWS.Configuration -Version 9.4.0
                    
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="Altemiq.Aspire.Hosting.AWS.Configuration" Version="9.4.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Altemiq.Aspire.Hosting.AWS.Configuration" Version="9.4.0" />
                    
Directory.Packages.props
<PackageReference Include="Altemiq.Aspire.Hosting.AWS.Configuration" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Altemiq.Aspire.Hosting.AWS.Configuration --version 9.4.0
                    
#r "nuget: Altemiq.Aspire.Hosting.AWS.Configuration, 9.4.0"
                    
#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.
#:package Altemiq.Aspire.Hosting.AWS.Configuration@9.4.0
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Altemiq.Aspire.Hosting.AWS.Configuration&version=9.4.0
                    
Install as a Cake Addin
#tool nuget:?package=Altemiq.Aspire.Hosting.AWS.Configuration&version=9.4.0
                    
Install as a Cake Tool

Altemiq.Aspire.Hosting.AWS.Configuration library

Adds support for AWS configuration interaction in the AppHost.

This writes out a temporary config file with the specified profiles.

When using as a reference, it injects this configuration as the default configuration.

Getting started

Install the package

In your AppHost project, install the Altemiq .NET Aspire AWS Configuration Hosting library with NuGet:

dotnet add package Altemiq.Aspire.Hosting.AWS.Configuration

Usage examples

Then, in the AppHost.cs file of AppHost, add AWS profiles using the following methods:

const string ProfileName = "minio";
const string BucketProfileName = "bucket";

var awsProfiles = builder.AddAWSProfileConfig()
                         .AsConfigurationFile()
                         .WithProfile(ProfileName)
                         .WithProfile(BucketProfileName);

var awsConfig = builder.AddAWSSDKConfig()
                       .WithRegion(region)
                       .WithProfile(ProfileName);

var myService = builder.AddProject<Projects.MyService>()
                       .WithReference(awsProfiles)
                       .WithReference(awsConfig);
Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  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.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on Altemiq.Aspire.Hosting.AWS.Configuration:

Package Downloads
Altemiq.Aspire.Hosting.AWS.S3

AWS S3 support for .NET Aspire.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
9.4.1 167 8/20/2025
9.4.0 130 7/31/2025
9.4.0-preview.1.25359.6 118 7/10/2025