cloudshift.awscdk.dsl.services.lex._BuildableLastArgumentExtensions.kt Maven / Gradle / Ivy
@file:Suppress("RedundantVisibilityModifier","RedundantUnitReturnType","RemoveRedundantQualifierName","unused","UnusedImport","ClassName","REDUNDANT_PROJECTION","DEPRECATION")
package cloudshift.awscdk.dsl.services.lex
import kotlin.Unit
import software.amazon.awscdk.services.lex.CfnBot
import software.amazon.awscdk.services.lex.CfnBotAlias
/**
* The Amazon S3 location of files used to import a bot.
*/
public inline fun CfnBot.setBotFileS3Location(block: CfnBotS3LocationPropertyDsl.() -> Unit = {}) {
val builder = CfnBotS3LocationPropertyDsl()
builder.apply(block)
return setBotFileS3Location(builder.build())
}
/**
* Specifies configuration settings for the alias used to test the bot.
*/
public inline
fun CfnBot.setTestBotAliasSettings(block: CfnBotTestBotAliasSettingsPropertyDsl.() -> Unit =
{}) {
val builder = CfnBotTestBotAliasSettingsPropertyDsl()
builder.apply(block)
return setTestBotAliasSettings(builder.build())
}
/**
* Specifies whether Amazon Lex logs text and audio for conversations with the bot.
*/
public inline
fun CfnBotAlias.setConversationLogSettings(block: CfnBotAliasConversationLogSettingsPropertyDsl.() -> Unit
= {}) {
val builder = CfnBotAliasConversationLogSettingsPropertyDsl()
builder.apply(block)
return setConversationLogSettings(builder.build())
}