# Placement Constructors

- Package: [Aspire.Hosting.Docker](/reference/api/csharp/aspire.hosting.docker.md)
- Type: [Placement](/reference/api/csharp/aspire.hosting.docker/placement.md)
- Kind: `Constructors`
- Members: `1`

Represents the placement configuration for a Docker service in a Swarm cluster. This class is used to define specific constraints and preferences for the placement of tasks or containers.

## Placement

- Name: `Constructor`

```csharp
public sealed class Placement
{
    public Placement()
    {
        // ...
    }
}
```
