Skip to content
DocsTry Aspire
DocsTry

FlociAwsContainerResource.withDataVolume

Method
📦 CommunityToolkit.Aspire.Hosting.Floci v13.5.0
interface FlociAwsContainerResource {
// ... omitted for brevity
withDataVolume(
name: string,
isReadOnly?: boolean): FlociAwsContainerResource;
}

Signature

methodwithDataVolumebuilder
Configures a named data volume for persistent Floci state.
withDataVolume(
name: string,
isReadOnly?: boolean): FlociAwsContainerResource
namestring
isReadOnlybooleanoptional= False
FlociAwsContainerResource

Defined on

This method is defined on the following type: