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

.NET
Go
Java
Python
TypeScript