# WithFlociUI

- Module: [CommunityToolkit.Aspire.Hosting.Floci](/reference/api/go/communitytoolkit.aspire.hosting.floci.md)
- Version: `13.6.1`
- Kind: `method`
- Defined on: [`FlociAwsContainerResource`](/reference/api/go/communitytoolkit.aspire.hosting.floci/flociawscontainerresource.md)
- Source: [GitHub](https://github.com/CommunityToolkit/Aspire/tree/d9c2addac6f527ef2e33712d290b84574b455a3b)

Adds a Floci UI web console container for the Floci resource

## Definition

```go
func (FlociAwsContainerResource) WithFlociUI(options ...*WithFlociUIOptions) FlociAwsContainerResource
```

## Parameters

- `options` (`...*WithFlociUIOptions`) -- optional settings, see [Options](#options)

## Options

Optional parameters are passed in a trailing `options ...*WithFlociUIOptions` argument.

- `ConfigureContainer` (`func(obj FlociUIContainerResource)`) `callback` -- Configuration callback for the Floci UI container resource. Use this to attach additional clouds to the same UI console via `WithReference`.
- `ContainerName` (`*string`) -- Optional. The name of the Floci UI container (default: `{floci-name}-ui`).

## Returns

[`FlociAwsContainerResource`](/reference/api/go/communitytoolkit.aspire.hosting.floci/flociawscontainerresource.md) -- A reference to the `IResourceBuilder` for further resource configuration.

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

## Applies to

- [`FlociAwsContainerResource`](/reference/api/go/communitytoolkit.aspire.hosting.floci/flociawscontainerresource.md)
