interface GrammarSlotTypeSettingProperty
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.Lex.CfnBot.GrammarSlotTypeSettingProperty |
![]() | software.amazon.awscdk.services.lex.CfnBot.GrammarSlotTypeSettingProperty |
![]() | aws_cdk.aws_lex.CfnBot.GrammarSlotTypeSettingProperty |
![]() | @aws-cdk/aws-lex » CfnBot » GrammarSlotTypeSettingProperty |
Settings requried for a slot type based on a grammar that you provide.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as lex from '@aws-cdk/aws-lex';
const grammarSlotTypeSettingProperty: lex.CfnBot.GrammarSlotTypeSettingProperty = {
source: {
s3BucketName: 's3BucketName',
s3ObjectKey: 's3ObjectKey',
// the properties below are optional
kmsKeyArn: 'kmsKeyArn',
},
};
Properties
Name | Type | Description |
---|---|---|
source? | IResolvable | Grammar | The source of the grammar used to create the slot type. |
source?
Type:
IResolvable
|
Grammar
(optional)
The source of the grammar used to create the slot type.