interface IntentOverrideProperty
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.Lex.CfnBot.IntentOverrideProperty |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awslex#CfnBot_IntentOverrideProperty |
![]() | software.amazon.awscdk.services.lex.CfnBot.IntentOverrideProperty |
![]() | aws_cdk.aws_lex.CfnBot.IntentOverrideProperty |
![]() | aws-cdk-lib » aws_lex » CfnBot » IntentOverrideProperty |
Override settings to configure the intent state.
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 intentOverrideProperty: lex.CfnBot.IntentOverrideProperty = {
name: 'name',
slots: [{
slotName: 'slotName',
slotValueOverride: {
shape: 'shape',
value: {
interpretedValue: 'interpretedValue',
},
values: [slotValueOverrideProperty_],
},
}],
};
Properties
Name | Type | Description |
---|---|---|
name? | string | The name of the intent. |
slots? | IResolvable | IResolvable | Slot [] | A map of all of the slot value overrides for the intent. |
name?
Type:
string
(optional)
The name of the intent.
Only required when you're switching intents.
slots?
Type:
IResolvable
|
IResolvable
|
Slot
[]
(optional)
A map of all of the slot value overrides for the intent.
The name of the slot maps to the value of the slot. Slots that are not included in the map aren't overridden.