interface SlotValueOverrideProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.Lex.Mixins.CfnBotPropsMixin.SlotValueOverrideProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awslex/mixins#CfnBotPropsMixin_SlotValueOverrideProperty |
Java | software.amazon.awscdk.mixins.preview.services.lex.mixins.CfnBotPropsMixin.SlotValueOverrideProperty |
Python | aws_cdk.mixins_preview.aws_lex.mixins.CfnBotPropsMixin.SlotValueOverrideProperty |
TypeScript | @aws-cdk/mixins-preview » aws_lex » mixins » CfnBotPropsMixin » 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 { mixins as lex_mixins } from '@aws-cdk/mixins-preview/aws-lex';
declare const slotValueOverrideProperty_: lex_mixins.CfnBotPropsMixin.SlotValueOverrideProperty;
const slotValueOverrideProperty: lex_mixins.CfnBotPropsMixin.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