# SeaweedFSContainerResource Constructors

- Package: [CommunityToolkit.Aspire.Hosting.SeaweedFS](/reference/api/csharp/communitytoolkit.aspire.hosting.seaweedfs.md)
- Type: [SeaweedFSContainerResource](/reference/api/csharp/communitytoolkit.aspire.hosting.seaweedfs/seaweedfscontainerresource.md)
- Kind: `Constructors`
- Members: `1`

A resource that represents a SeaweedFS container.

<a id="constructor"></a>
<a id="constructor-string-parameterresource-parameterresource"></a>

## SeaweedFSContainerResource(string, ParameterResource, ParameterResource)

- Name: `Constructor(string, ParameterResource, ParameterResource)`
- Source: [GitHub](https://github.com/CommunityToolkit/Aspire/blob/d479e13473b1d29d06b974f144a0049289a3cb5c/src/CommunityToolkit.Aspire.Hosting.SeaweedFS/SeaweedFSContainerResource.cs#L14-L25)

A resource that represents a SeaweedFS container.

```csharp
public sealed class SeaweedFSContainerResource
{
    public SeaweedFSContainerResource(
        string name,
        ParameterResource accessKey,
        ParameterResource secretKey)
    {
        // ...
    }
}
```

## Parameters

- `name` (`string`)
  The resource name.
- `accessKey` (`ParameterResource`)
  The parameter containing the S3 access key.
- `secretKey` (`ParameterResource`)
  The parameter containing the S3 secret key.
