Class CfnBotProps
Properties for defining a CfnBot
.
Inheritance
Implements
Namespace: Amazon.CDK.AWS.Lex
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnBotProps : Object, ICfnBotProps
Syntax (vb)
Public Class CfnBotProps
Inherits Object
Implements ICfnBotProps
Remarks
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lex-bot.html
ExampleMetadata: fixture=_generated
Synopsis
Constructors
CfnBotProps() |
Properties
AutoBuildBotLocales | Indicates whether Amazon Lex V2 should automatically build the locales for the bot after a change. |
BotFileS3Location | The Amazon S3 location of files used to import a bot. |
BotLocales | A list of locales for the bot. |
BotTags | A list of tags to add to the bot. |
DataPrivacy | By default, data stored by Amazon Lex is encrypted. |
Description | The description of the version. |
IdleSessionTtlInSeconds | The time, in seconds, that Amazon Lex should keep information about a user's conversation with the bot. |
Name | The name of the bot locale. |
RoleArn | The Amazon Resource Name (ARN) of the IAM role used to build and run the bot. |
TestBotAliasSettings | Specifies configuration settings for the alias used to test the bot. |
TestBotAliasTags | A list of tags to add to the test alias for a bot. |
Constructors
CfnBotProps()
public CfnBotProps()
Properties
AutoBuildBotLocales
Indicates whether Amazon Lex V2 should automatically build the locales for the bot after a change.
public object AutoBuildBotLocales { get; set; }
Property Value
System.Object
Remarks
BotFileS3Location
The Amazon S3 location of files used to import a bot.
public object BotFileS3Location { get; set; }
Property Value
System.Object
Remarks
The files must be in the import format specified in JSON format for importing and exporting in the Amazon Lex developer guide.
BotLocales
A list of locales for the bot.
public object BotLocales { get; set; }
Property Value
System.Object
Remarks
BotTags
A list of tags to add to the bot.
public object BotTags { get; set; }
Property Value
System.Object
Remarks
You can only add tags when you import a bot. You can't use the UpdateBot
operation to update tags. To update tags, use the TagResource
operation.
DataPrivacy
By default, data stored by Amazon Lex is encrypted.
public object DataPrivacy { get; set; }
Property Value
System.Object
Remarks
The DataPrivacy
structure provides settings that determine how Amazon Lex handles special cases of securing the data for your bot.
Description
The description of the version.
public string Description { get; set; }
Property Value
System.String
Remarks
IdleSessionTtlInSeconds
The time, in seconds, that Amazon Lex should keep information about a user's conversation with the bot.
public double IdleSessionTtlInSeconds { get; set; }
Property Value
System.Double
Remarks
A user interaction remains active for the amount of time specified. If no conversation occurs during this time, the session expires and Amazon Lex deletes any data provided before the timeout.
You can specify between 60 (1 minute) and 86,400 (24 hours) seconds.
Name
The name of the bot locale.
public string Name { get; set; }
Property Value
System.String
Remarks
RoleArn
The Amazon Resource Name (ARN) of the IAM role used to build and run the bot.
public string RoleArn { get; set; }
Property Value
System.String
Remarks
TestBotAliasSettings
Specifies configuration settings for the alias used to test the bot.
public object TestBotAliasSettings { get; set; }
Property Value
System.Object
Remarks
If the TestBotAliasSettings
property is not specified, the settings are configured with default values.
TestBotAliasTags
A list of tags to add to the test alias for a bot.
public object TestBotAliasTags { get; set; }
Property Value
System.Object
Remarks
You can only add tags when you import a bot. You can't use the UpdateAlias
operation to update tags. To update tags on the test alias, use the TagResource
operation.