aws-cdk-lib.aws_lex.CfnBot.SlotTypeValueProperty

interface SlotTypeValueProperty

LanguageType name
.NETAmazon.CDK.AWS.Lex.CfnBot.SlotTypeValueProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awslex#CfnBot_SlotTypeValueProperty
Javasoftware.amazon.awscdk.services.lex.CfnBot.SlotTypeValueProperty
Pythonaws_cdk.aws_lex.CfnBot.SlotTypeValueProperty
TypeScript aws-cdk-lib » aws_lex » CfnBot » SlotTypeValueProperty

Each slot type can have a set of values.

Each SlotTypeValue represents a value that the slot type can take.

Example

// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_lex as lex } from 'aws-cdk-lib';
const slotTypeValueProperty: lex.CfnBot.SlotTypeValueProperty = {
  sampleValue: {
    value: 'value',
  },

  // the properties below are optional
  synonyms: [{
    value: 'value',
  }],
};

Properties

NameTypeDescription
sampleValueIResolvable | SampleValuePropertyThe value of the slot type entry.
synonyms?IResolvable | IResolvable | SampleValueProperty[]Additional values related to the slot type entry.

sampleValue

Type: IResolvable | SampleValueProperty

The value of the slot type entry.


synonyms?

Type: IResolvable | IResolvable | SampleValueProperty[] (optional)

Additional values related to the slot type entry.