aws-cdk-lib.aws_lex.CfnBot.GrammarSlotTypeSettingProperty

interface GrammarSlotTypeSettingProperty

LanguageType name
.NETAmazon.CDK.AWS.Lex.CfnBot.GrammarSlotTypeSettingProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awslex#CfnBot_GrammarSlotTypeSettingProperty
Javasoftware.amazon.awscdk.services.lex.CfnBot.GrammarSlotTypeSettingProperty
Pythonaws_cdk.aws_lex.CfnBot.GrammarSlotTypeSettingProperty
TypeScript aws-cdk-lib » 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 { aws_lex as lex } from 'aws-cdk-lib';
const grammarSlotTypeSettingProperty: lex.CfnBot.GrammarSlotTypeSettingProperty = {
  source: {
    s3BucketName: 's3BucketName',
    s3ObjectKey: 's3ObjectKey',

    // the properties below are optional
    kmsKeyArn: 'kmsKeyArn',
  },
};

Properties

NameTypeDescription
source?IResolvable | GrammarSlotTypeSourcePropertyThe source of the grammar used to create the slot type.

source?

Type: IResolvable | GrammarSlotTypeSourceProperty (optional)

The source of the grammar used to create the slot type.