interface SlotValueOverrideProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.Lex.CfnBot.SlotValueOverrideProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awslex#CfnBot_SlotValueOverrideProperty |
Java | software.amazon.awscdk.services.lex.CfnBot.SlotValueOverrideProperty |
Python | aws_cdk.aws_lex.CfnBot.SlotValueOverrideProperty |
TypeScript | aws-cdk-lib » aws_lex » CfnBot » SlotValueOverrideProperty |
The slot values that Amazon Lex uses when it sets slot values in a dialog step.
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 slotValueOverrideProperty: lex.CfnBot.SlotValueOverrideProperty = {
shape: 'shape',
value: {
interpretedValue: 'interpretedValue',
},
values: [slotValueOverrideProperty_],
};
Properties
| Name | Type | Description |
|---|---|---|
| shape? | string | When the shape value is List , it indicates that the values field contains a list of slot values. |
| value? | IResolvable | Slot | The current value of the slot. |
| values? | IResolvable | (IResolvable | Slot)[] | A list of one or more values that the user provided for the slot. |
shape?
Type:
string
(optional)
When the shape value is List , it indicates that the values field contains a list of slot values.
When the value is Scalar , it indicates that the value field contains a single value.
value?
Type:
IResolvable | Slot
(optional)
The current value of the slot.
values?
Type:
IResolvable | (IResolvable | Slot)[]
(optional)
A list of one or more values that the user provided for the slot.
For example, for a slot that elicits pizza toppings, the values might be "pepperoni" and "pineapple."

.NET
Go
Java
Python
TypeScript