aws-cdk-lib.aws_lex.CfnBot.SlotValueOverrideMapProperty

interface SlotValueOverrideMapProperty

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

Maps a slot name to the SlotValueOverride object.

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';

declare const slotValueOverrideProperty_: lex.CfnBot.SlotValueOverrideProperty;
const slotValueOverrideMapProperty: lex.CfnBot.SlotValueOverrideMapProperty = {
  slotName: 'slotName',
  slotValueOverride: {
    shape: 'shape',
    value: {
      interpretedValue: 'interpretedValue',
    },
    values: [slotValueOverrideProperty_],
  },
};

Properties

NameTypeDescription
slotName?stringThe name of the slot.
slotValueOverride?IResolvable | SlotValueOverridePropertyThe SlotValueOverride object to which the slot name will be mapped.

slotName?

Type: string (optional)

The name of the slot.


slotValueOverride?

Type: IResolvable | SlotValueOverrideProperty (optional)

The SlotValueOverride object to which the slot name will be mapped.