# CommunityToolkit.Aspire.Hosting.LavinMQ

- Module: `CommunityToolkit.Aspire.Hosting.LavinMQ`
- Version: `13.6.1`
- Import path: `apphost/modules/aspire`
- Source: [GitHub](https://github.com/CommunityToolkit/Aspire/tree/d9c2addac6f527ef2e33712d290b84574b455a3b)
- Functions: `3`
- Types: `1`

## Handles

- [LavinMQContainerResource](/reference/api/go/communitytoolkit.aspire.hosting.lavinmq/lavinmqcontainerresource.md) -- `handle` - 7 members -- Represents a container resource for LavinMQ with configurable authentication parameters and connection endpoint details, implementing the IResourceWithConnectionString interface.

## Functions

- [AddLavinMQ](/reference/api/go/communitytoolkit.aspire.hosting.lavinmq/addlavinmq.md) -- `method` - on `DistributedApplicationBuilder` -- Adds a LavinMQ container resource to the distributed application builder. Configures the resource with specified parameters and sets up health checks for the resource.
- [WithDataBindMount](/reference/api/go/communitytoolkit.aspire.hosting.lavinmq/withdatabindmount.md) -- `method` - on `LavinMQContainerResource` -- Configures a bind mount for the LavinMQ container resource to allow data persistence. The method mounts a specified source path on the host to the container's data directory.
- [WithDataVolume](/reference/api/go/communitytoolkit.aspire.hosting.lavinmq/withdatavolume.md) -- `method` - on `LavinMQContainerResource` -- Configures a data volume for the LavinMQ container resource by specifying its name and read-only status.
