aws-cdk-lib.aws_lex.CfnBot.GrammarSlotTypeSourceProperty

interface GrammarSlotTypeSourceProperty

LanguageType name
.NETAmazon.CDK.AWS.Lex.CfnBot.GrammarSlotTypeSourceProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awslex#CfnBot_GrammarSlotTypeSourceProperty
Javasoftware.amazon.awscdk.services.lex.CfnBot.GrammarSlotTypeSourceProperty
Pythonaws_cdk.aws_lex.CfnBot.GrammarSlotTypeSourceProperty
TypeScript aws-cdk-lib » aws_lex » CfnBot » GrammarSlotTypeSourceProperty

Describes the Amazon S3 bucket name and location for the grammar that is the source for the slot type.

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 grammarSlotTypeSourceProperty: lex.CfnBot.GrammarSlotTypeSourceProperty = {
  s3BucketName: 's3BucketName',
  s3ObjectKey: 's3ObjectKey',

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

Properties

NameTypeDescription
s3BucketNamestringThe name of the Amazon S3 bucket that contains the grammar source.
s3ObjectKeystringThe path to the grammar in the Amazon S3 bucket.
kmsKeyArn?stringThe AWS KMS key required to decrypt the contents of the grammar, if any.

s3BucketName

Type: string

The name of the Amazon S3 bucket that contains the grammar source.


s3ObjectKey

Type: string

The path to the grammar in the Amazon S3 bucket.


kmsKeyArn?

Type: string (optional)

The AWS KMS key required to decrypt the contents of the grammar, if any.