interface GrammarSlotTypeSourceProperty
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.Lex.CfnBot.GrammarSlotTypeSourceProperty |
Java | software.amazon.awscdk.services.lex.CfnBot.GrammarSlotTypeSourceProperty |
Python | aws_cdk.aws_lex.CfnBot.GrammarSlotTypeSourceProperty |
TypeScript | @aws-cdk/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 * as lex from '@aws-cdk/aws-lex';
const grammarSlotTypeSourceProperty: lex.CfnBot.GrammarSlotTypeSourceProperty = {
s3BucketName: 's3BucketName',
s3ObjectKey: 's3ObjectKey',
// the properties below are optional
kmsKeyArn: 'kmsKeyArn',
};
Properties
Name | Type | Description |
---|---|---|
s3 | string | The name of the Amazon S3 bucket that contains the grammar source. |
s3 | string | The path to the grammar in the Amazon S3 bucket. |
kms | string | The 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.