Skip to content
v2.274.0

NumericalScaleDefinitionProperty Struct ​

A numerical rating scale option.

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 numericalScaleDefinitionProperty: bedrockagentcore.CfnEvaluator.NumericalScaleDefinitionProperty = {
  definition: 'definition',
  label: 'label',
  value: 123,
};

Properties ​

definitionstringdefinitionstrdefinitionStringDefinitionstringDefinition*stringrequired#
The description that explains what this numerical rating represents.
labelstringlabelstrlabelStringLabelstringLabel*stringrequired#
The label that describes this numerical rating option.
valuenumbervalueint | floatvalueNumberValuedoubleValue*float64required#
The numerical value for this rating scale option.