# RedPandaKafkaUiContainerResource Constructors

- Package: [CommunityToolkit.Aspire.Hosting.RedPanda](/reference/api/csharp/communitytoolkit.aspire.hosting.redpanda.md)
- Type: [RedPandaKafkaUiContainerResource](/reference/api/csharp/communitytoolkit.aspire.hosting.redpanda/redpandakafkauicontainerresource.md)
- Kind: `Constructors`
- Members: `1`

A resource that represents a Kafka UI container (the `kafbat/kafka-ui` image), a web UI for managing and inspecting one or more Kafka API compatible brokers such as Redpanda.

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

## RedPandaKafkaUiContainerResource(string)

- Name: `Constructor(string)`
- Source: [GitHub](https://github.com/CommunityToolkit/Aspire/blob/4ff8268fbd97ddd23cb73dc8eff9cc92718156d1/src/CommunityToolkit.Aspire.Hosting.RedPanda/RedPandaKafkaUiContainerResource.cs#L9)

A resource that represents a Kafka UI container (the `kafbat/kafka-ui` image), a web UI for managing and inspecting one or more Kafka API compatible brokers such as Redpanda.

```csharp
public class RedPandaKafkaUiContainerResource
{
    public RedPandaKafkaUiContainerResource(
        string name)
    {
        // ...
    }
}
```

## Parameters

- `name` (`string`)
  The name of the resource.
