interface GrammarSlotTypeSettingProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.CfnPropertyMixins.AWS.Lex.CfnBotPropsMixin.GrammarSlotTypeSettingProperty |
Go | github.com/aws/aws-cdk-go/awscdkcfnpropertymixins/v2/awslex#CfnBotPropsMixin_GrammarSlotTypeSettingProperty |
Java | software.amazon.awscdk.cfnpropertymixins.services.lex.CfnBotPropsMixin.GrammarSlotTypeSettingProperty |
Python | aws_cdk.cfn_property_mixins.aws_lex.CfnBotPropsMixin.GrammarSlotTypeSettingProperty |
TypeScript | @aws-cdk/cfn-property-mixins » aws_lex » 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 { aws_lex as lex } from '@aws-cdk/cfn-property-mixins';
const grammarSlotTypeSettingProperty: lex.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