# RedisInsightResource Constructors

- Package: [Aspire.Hosting.Redis](/reference/api/csharp/aspire.hosting.redis.md)
- Type: [RedisInsightResource](/reference/api/csharp/aspire.hosting.redis/redisinsightresource.md)
- Kind: `Constructors`
- Members: `1`

A resource that represents a Redis Insight container.

## RedisInsightResource(string)

- Name: `Constructor(string)`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/5bd693ae1897dee5e2ce71c2cc08879c1c7eff51/src/Aspire.Hosting.Redis/RedisInsightResource.cs#L12)

A resource that represents a Redis Insight container.

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

## Parameters

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