# NumericalRatingOption

A numerical rating scale option for custom evaluators.

Numerical scales define labeled numeric values for scoring agent performance.

- Source: [`aws-bedrockagentcore/lib/evaluation/types.ts`](https://github.com/aws/aws-cdk/blob/v2.275.0/packages/aws-cdk-lib/aws-bedrockagentcore/lib/evaluation/types.ts#L443)
- Type last changed: v2.255.0 · 19 May 2026

## Example

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_bedrockagentcore as bedrockagentcore } from 'aws-cdk-lib';
const numericalRatingOption: bedrockagentcore.NumericalRatingOption = {
  definition: 'definition',
  label: 'label',
  value: 123,
};
```

## Properties

- `definition`: string (required) — The description that explains what this numerical rating represents.

  ```ts
  'The response is comprehensive, accurate, and well-structured.'
  ```

- `label`: string (required) — The label for this rating option.

  ```ts
  'Excellent'
  ```

- `value`: number (required) — The numerical value for this rating scale option.

  ```ts
  5
  ```
