# RustFsResource Properties

- Package: [CommunityToolkit.Aspire.Hosting.RustFs](/reference/api/csharp/communitytoolkit.aspire.hosting.rustfs.md)
- Type: [RustFsResource](/reference/api/csharp/communitytoolkit.aspire.hosting.rustfs/rustfsresource.md)
- Kind: `Properties`
- Members: `8`

A resource that represents a RustFs S3-compatible storage container.

<a id="accesskey"></a>

## AccessKey

- Name: `AccessKey`
- Modifiers: `get`
- Returns: `ParameterResource`
- Source: [GitHub](https://github.com/CommunityToolkit/Aspire/blob/d479e13473b1d29d06b974f144a0049289a3cb5c/src/CommunityToolkit.Aspire.Hosting.RustFs/RustFsResource.cs#L23)

Gets the access key parameter resource for RustFs.

```csharp
public ParameterResource AccessKey { get; }
```

<a id="connectionstringexpression"></a>

## ConnectionStringExpression

- Name: `ConnectionStringExpression`
- Modifiers: `get`
- Returns: `ReferenceExpression`
- Source: [GitHub](https://github.com/CommunityToolkit/Aspire/blob/d479e13473b1d29d06b974f144a0049289a3cb5c/src/CommunityToolkit.Aspire.Hosting.RustFs/RustFsResource.cs#L55)

Gets the connection string expression for the RustFs resource.

```csharp
public ReferenceExpression ConnectionStringExpression { get; }
```

<a id="host"></a>

## Host

- Name: `Host`
- Modifiers: `get`
- Returns: `EndpointReferenceExpression`
- Source: [GitHub](https://github.com/CommunityToolkit/Aspire/blob/d479e13473b1d29d06b974f144a0049289a3cb5c/src/CommunityToolkit.Aspire.Hosting.RustFs/RustFsResource.cs#L45)

Gets the host endpoint reference for this resource.

```csharp
public EndpointReferenceExpression Host { get; }
```

<a id="port"></a>

## Port

- Name: `Port`
- Modifiers: `get`
- Returns: `EndpointReferenceExpression`
- Source: [GitHub](https://github.com/CommunityToolkit/Aspire/blob/d479e13473b1d29d06b974f144a0049289a3cb5c/src/CommunityToolkit.Aspire.Hosting.RustFs/RustFsResource.cs#L50)

Gets the port endpoint reference for this resource.

```csharp
public EndpointReferenceExpression Port { get; }
```

<a id="primaryendpoint"></a>

## PrimaryEndpoint

- Name: `PrimaryEndpoint`
- Modifiers: `get`
- Returns: `EndpointReference`
- Source: [GitHub](https://github.com/CommunityToolkit/Aspire/blob/d479e13473b1d29d06b974f144a0049289a3cb5c/src/CommunityToolkit.Aspire.Hosting.RustFs/RustFsResource.cs#L40)

Gets the primary endpoint for the RustFs resource. This endpoint is used for all S3-compatible API calls over HTTP.

```csharp
public EndpointReference PrimaryEndpoint { get; }
```

<a id="secretkey"></a>

## SecretKey

- Name: `SecretKey`
- Modifiers: `get`
- Returns: `ParameterResource`
- Source: [GitHub](https://github.com/CommunityToolkit/Aspire/blob/d479e13473b1d29d06b974f144a0049289a3cb5c/src/CommunityToolkit.Aspire.Hosting.RustFs/RustFsResource.cs#L28)

Gets the secret key parameter resource for RustFs.

```csharp
public ParameterResource SecretKey { get; }
```

<a id="signingregion"></a>

## SigningRegion

- Name: `SigningRegion`
- Modifiers: `get`
- Returns: `string`
- Source: [GitHub](https://github.com/CommunityToolkit/Aspire/blob/d479e13473b1d29d06b974f144a0049289a3cb5c/src/CommunityToolkit.Aspire.Hosting.RustFs/RustFsResource.cs)

Gets the AWS signing region used for S3 API requests. Defaults to `us-east-1`.

```csharp
public string SigningRegion { get; }
```

<a id="uriexpression"></a>

## UriExpression

- Name: `UriExpression`
- Modifiers: `get`
- Returns: `ReferenceExpression`
- Source: [GitHub](https://github.com/CommunityToolkit/Aspire/blob/d479e13473b1d29d06b974f144a0049289a3cb5c/src/CommunityToolkit.Aspire.Hosting.RustFs/RustFsResource.cs#L63)

Gets the connection URI expression for the RustFs server.

```csharp
public ReferenceExpression UriExpression { get; }
```

## Remarks

Format: `http://{host}:{port}`.
