# HostedAgentConfiguration

- Module: [Aspire.Hosting.Foundry](/reference/api/typescript/aspire.hosting.foundry.md)
- Version: `13.3.0-preview.1.26254.5`
- Kind: `handle`
- Source: [GitHub](https://github.com/microsoft/aspire)

## Definition

```typescript
interface HostedAgentConfiguration {
  cpu: number;
  description: string;
  environmentVariables: Dict<string,string>;
  memory: number;
  metadata: Dict<string,string>;
}
```

## Properties

- `cpu`: `number` `get - set` -- Gets the Cpu property
- `description`: `string` `get - set` -- Gets the Description property
- `environmentVariables`: `Dict<string,string>` `get - set` -- Gets the EnvironmentVariables property
- `memory`: `number` `get - set` -- Gets the Memory property
- `metadata`: `Dict<string,string>` `get - set` -- Gets the Metadata property
