# ContainerMountAnnotation

- Module: [Aspire.Hosting](/reference/api/go/aspire.hosting.md)
- Version: `17.0.0`
- Kind: `handle`
- Source: [GitHub](https://github.com/microsoft/aspire/tree/bcfa151cdca6d0a573f22d5d9c23f9c727cb3b2f)

Represents a mount annotation for a container resource.

## Definition

```go
type ContainerMountAnnotation interface{}
```

## Properties

- `IsReadOnly`: `bool` `get` -- Gets a value indicating whether the volume mount is read-only.
- `Source`: `*string` `get` -- Gets the source of the bind mount or name if a volume. Can be `null` if the mount is an anonymous volume.
- `Target`: `string` `get` -- Gets the target of the mount.
- `Type`: [`ContainerMountType`](/reference/api/go/aspire.hosting/containermounttype.md) `get` -- Gets the type of the mount.
