Class CfnBot.GrammarSlotTypeSettingProperty
Settings requried for a slot type based on a grammar that you provide.
Inheritance
System.Object
CfnBot.GrammarSlotTypeSettingProperty
Implements
Namespace: Amazon.CDK.AWS.Lex
Assembly: Amazon.CDK.AWS.Lex.dll
Syntax (csharp)
public class GrammarSlotTypeSettingProperty : Object, CfnBot.IGrammarSlotTypeSettingProperty
Syntax (vb)
Public Class GrammarSlotTypeSettingProperty
Inherits Object
Implements CfnBot.IGrammarSlotTypeSettingProperty
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Lex;
var grammarSlotTypeSettingProperty = new GrammarSlotTypeSettingProperty {
Source = new GrammarSlotTypeSourceProperty {
S3BucketName = "s3BucketName",
S3ObjectKey = "s3ObjectKey",
// the properties below are optional
KmsKeyArn = "kmsKeyArn"
}
};
Synopsis
Constructors
GrammarSlotTypeSettingProperty() |
Properties
Source | The source of the grammar used to create the slot type. |
Constructors
GrammarSlotTypeSettingProperty()
public GrammarSlotTypeSettingProperty()
Properties
Source
The source of the grammar used to create the slot type.
public object Source { get; set; }
Property Value
System.Object