BotButtonArgs

data class BotButtonArgs(val text: Output<String>, val value: Output<String>) : ConvertibleToJava<BotButtonArgs>

A button to use on a response card used to gather slot values from a user.

Constructors

Link copied to clipboard
constructor(text: Output<String>, value: Output<String>)

Properties

Link copied to clipboard
val text: Output<String>

The text that appears on the button.

Link copied to clipboard
val value: Output<String>

The value returned to Amazon Lex when the user chooses this button.

Functions

Link copied to clipboard
open override fun toJava(): BotButtonArgs