# InteractionInput

- Module: [Aspire.Hosting](/reference/api/typescript/aspire.hosting.md)
- Version: `13.6.5`
- Kind: `type`
- Source: [GitHub](https://github.com/microsoft/aspire/tree/b33d222049f1ecc3bc7257ec07b622fe550b2580)

Represents an input for an interaction.

## Definition

```typescript
type InteractionInput = {
  Name?: string;
  Label?: string;
  Description?: string;
  EnableDescriptionMarkdown?: boolean;
  InputType?: InputType;
  Required?: boolean;
  Options?: KeyValuePair<string,string>[];
  Value?: string;
  Placeholder?: string;
  AllowCustomChoice?: boolean;
  Disabled?: boolean;
  MaxLength?: number;
  AllowMultipleFiles?: boolean;
  FileFilter?: string;
  MaxFileSize?: number;
}
```

## Fields

- `Name`: `string` `optional`
- `Label`: `string` `optional`
- `Description`: `string` `optional`
- `EnableDescriptionMarkdown`: `boolean` `optional`
- `InputType`: [InputType](/reference/api/typescript/aspire.hosting/inputtype.md) `optional`
- `Required`: `boolean` `optional`
- `Options`: `KeyValuePair<string,string>[]` `optional`
- `Value`: `string` `optional`
- `Placeholder`: `string` `optional`
- `AllowCustomChoice`: `boolean` `optional`
- `Disabled`: `boolean` `optional`
- `MaxLength`: `number` `optional`
- `AllowMultipleFiles`: `boolean` `optional`
- `FileFilter`: `string` `optional`
- `MaxFileSize`: `number` `optional`
