# ParameterResource

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

Represents a parameter resource.

## Definition

```typescript
interface ParameterResource
  extends IExpressionValue,
    IManifestExpressionProvider,
    IResource,
    IValueProvider {
  withCustomInput(options: ParameterCustomInputOptions): ParameterResource;
  withDescription(
      description: string,
      enableMarkdown?: boolean): ParameterResource;
}
```

## Methods

- [withCustomInput](/reference/api/typescript/aspire.hosting/parameterresource/withcustominput.md) -- `method` -- Sets a custom input for the parameter resource from a polyglot app host.
    ```typescript
  withCustomInput(options: ParameterCustomInputOptions): ParameterResource
  ```
- [withDescription](/reference/api/typescript/aspire.hosting/parameterresource/withdescription.md) -- `method` -- Sets the description of the parameter resource.
    ```typescript
  withDescription(description: string, enableMarkdown?: boolean): ParameterResource
  ```
