interface GrammarSlotTypeSourceProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.Lex.Mixins.CfnBotPropsMixin.GrammarSlotTypeSourceProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awslex/mixins#CfnBotPropsMixin_GrammarSlotTypeSourceProperty |
Java | software.amazon.awscdk.mixins.preview.services.lex.mixins.CfnBotPropsMixin.GrammarSlotTypeSourceProperty |
Python | aws_cdk.mixins_preview.aws_lex.mixins.CfnBotPropsMixin.GrammarSlotTypeSourceProperty |
TypeScript | @aws-cdk/mixins-preview » aws_lex » mixins » CfnBotPropsMixin » 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 { mixins as lex_mixins } from '@aws-cdk/mixins-preview/aws-lex';
const grammarSlotTypeSourceProperty: lex_mixins.CfnBotPropsMixin.GrammarSlotTypeSourceProperty = {
kmsKeyArn: 'kmsKeyArn',
s3BucketName: 's3BucketName',
s3ObjectKey: 's3ObjectKey',
};
Properties
| Name | Type | Description |
|---|---|---|
| kms | string | The AWS key required to decrypt the contents of the grammar, if any. |
| 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. |
kmsKeyArn?
Type:
string
(optional)
The AWS key required to decrypt the contents of the grammar, if any.
s3BucketName?
Type:
string
(optional)
The name of the Amazon S3 bucket that contains the grammar source.
s3ObjectKey?
Type:
string
(optional)
The path to the grammar in the Amazon S3 bucket.

.NET
Go
Java
Python
TypeScript