AWS::Lex::Bot GrammarSlotTypeSource - AWS CloudFormation

AWS::Lex::Bot GrammarSlotTypeSource

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

Syntax

To declare this entity in your AWS CloudFormation template, use the following syntax:

JSON

{ "KmsKeyArn" : String, "S3BucketName" : String, "S3ObjectKey" : String }

YAML

KmsKeyArn: String S3BucketName: String S3ObjectKey: String

Properties

KmsKeyArn

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

Required: No

Type: String

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

Minimum: 20

Maximum: 2048

Update requires: No interruption

S3BucketName

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

Required: Yes

Type: String

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

Minimum: 3

Maximum: 63

Update requires: No interruption

S3ObjectKey

The path to the grammar in the Amazon S3 bucket.

Required: Yes

Type: String

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

Minimum: 1

Maximum: 1024

Update requires: No interruption