# InputType

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

Specifies the type of input for an `InteractionInput`.

## Definition

```go
type InputType string

const (
    InputTypeText       InputType = "Text"
    InputTypeSecretText InputType = "SecretText"
    InputTypeChoice     InputType = "Choice"
    InputTypeBoolean    InputType = "Boolean"
    InputTypeNumber     InputType = "Number"
    InputTypeFile       InputType = "File"
)
```

## Values

- `InputTypeText` = `"Text"` -- A single-line text input.
- `InputTypeSecretText` = `"SecretText"` -- A secure text input.
- `InputTypeChoice` = `"Choice"` -- A choice input. Selects from a list of options.
- `InputTypeBoolean` = `"Boolean"` -- A boolean input.
- `InputTypeNumber` = `"Number"` -- A numeric input.
- `InputTypeFile` = `"File"` -- A file input. Allows the user to select a file using the OS/browser file picker.
