# SeaweedFSContainerResource

- Module: [CommunityToolkit.Aspire.Hosting.SeaweedFS](/reference/api/go/communitytoolkit.aspire.hosting.seaweedfs.md)
- Version: `13.6.1`
- Kind: `handle`
- Source: [GitHub](https://github.com/CommunityToolkit/Aspire/tree/d9c2addac6f527ef2e33712d290b84574b455a3b)

## Definition

```go
type SeaweedFSContainerResource interface {
    ExpressionValue
    IComputeResource
    Resource
    ResourceWithArgs
    ResourceWithConnectionString
    ResourceWithEndpoints
    ResourceWithEnvironment
    ResourceWithWaitSupport
}
```

## Embeds

- `ExpressionValue`
- `IComputeResource`
- `Resource`
- `ResourceWithArgs`
- `ResourceWithConnectionString`
- `ResourceWithEndpoints`
- `ResourceWithEnvironment`
- `ResourceWithWaitSupport`

## Methods

- [WithAccessKey](/reference/api/go/communitytoolkit.aspire.hosting.seaweedfs/seaweedfscontainerresource/withaccesskey.md) -- `method` -- Configures the Access Key that the SeaweedFS S3 resource uses.
  ```go
  WithAccessKey(accessKey ParameterResource) SeaweedFSContainerResource
  ```
- [WithDataBindMount](/reference/api/go/communitytoolkit.aspire.hosting.seaweedfs/seaweedfscontainerresource/withdatabindmount.md) -- `method` -- Adds a bind mount for the SeaweedFS data folder.
  ```go
  WithDataBindMount(source string, options ...*WithDataBindMountOptions) SeaweedFSContainerResource
  ```
- [WithDataVolume](/reference/api/go/communitytoolkit.aspire.hosting.seaweedfs/seaweedfscontainerresource/withdatavolume.md) -- `method` -- Adds a named volume for the SeaweedFS data folder.
  ```go
  WithDataVolume(options ...*WithDataVolumeOptions) SeaweedFSContainerResource
  ```
- [WithFiler](/reference/api/go/communitytoolkit.aspire.hosting.seaweedfs/seaweedfscontainerresource/withfiler.md) -- `method` -- Enables the SeaweedFS Native Filer API.
  ```go
  WithFiler(options ...*WithFilerOptions) SeaweedFSContainerResource
  ```
- [WithHostPort](/reference/api/go/communitytoolkit.aspire.hosting.seaweedfs/seaweedfscontainerresource/withhostport.md) -- `method` -- Configures the Master API host port that the SeaweedFS resource is exposed on.
  ```go
  WithHostPort(port *float64) SeaweedFSContainerResource
  ```
- [WithS3](/reference/api/go/communitytoolkit.aspire.hosting.seaweedfs/seaweedfscontainerresource/withs3.md) -- `method` -- Enables the SeaweedFS S3-Compatible API Gateway.
  ```go
  WithS3(options ...*WithS3Options) SeaweedFSContainerResource
  ```
- [WithS3ConfigFile](/reference/api/go/communitytoolkit.aspire.hosting.seaweedfs/seaweedfscontainerresource/withs3configfile.md) -- `method` -- Configures the SeaweedFS S3 API to use a specific external security configuration file.
  ```go
  WithS3ConfigFile(configFilePath string) SeaweedFSContainerResource
  ```
- [WithSecretKey](/reference/api/go/communitytoolkit.aspire.hosting.seaweedfs/seaweedfscontainerresource/withsecretkey.md) -- `method` -- Configures the Secret Key that the SeaweedFS S3 resource uses.
  ```go
  WithSecretKey(secretKey ParameterResource) SeaweedFSContainerResource
  ```
