GrammarSlotTypeSource - Amazon Lex API Reference

GrammarSlotTypeSource

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

Contents

s3BucketName

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

Type: String

Length Constraints: Minimum length of 3. Maximum length of 63.

Pattern: ^[a-z0-9][\.\-a-z0-9]{1,61}[a-z0-9]$

Required: Yes

s3ObjectKey

The path to the grammar in the Amazon S3 bucket.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 1024.

Pattern: [\.\-\!\*\_\'\(\)a-zA-Z0-9][\.\-\!\*\_\'\(\)\/a-zA-Z0-9]*$

Required: Yes

kmsKeyArn

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

Type: String

Length Constraints: Minimum length of 20. Maximum length of 2048.

Pattern: ^arn:[\w\-]+:kms:[\w\-]+:[\d]{12}:(?:key\/[\w\-]+|alias\/[a-zA-Z0-9:\/_\-]{1,256})$

Required: No

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: