Aspirerelease/17.0
Watch Aspire live streamsDocsTry Aspire

WithFlociAwsReference

Method
📦 CommunityToolkit.Aspire.Hosting.Floci v13.6.1
func (ResourceWithEnvironment) WithFlociAwsReference(floci FlociAwsContainerResource) ResourceWithEnvironment

Signature

methodWithFlociAwsReferencebuilder
Adds a reference to a Floci AWS emulator resource
WithFlociAwsReference(floci FlociAwsContainerResource) ResourceWithEnvironment
flociFlociAwsContainerResourceThe Floci AWS resource to reference.
ResourceWithEnvironment

A reference to the IResourceBuilder for further configuration.

Returns a handle; failures surface later via Err().

Applies to

This method applies to the following types:

typeCSharpAppResource
typeContainerResource
typeDotnetToolResource
typeExecutableResource
typeFlociAwsContainerResource
typeFlociAzureContainerResource
typeFlociGcpContainerResource
typeFlociUIContainerResource
typeProjectResource