Class CfnBot.ButtonProperty
Describes a button to use on a response card used to gather slot values from a user.
Inheritance
System.Object
CfnBot.ButtonProperty
Implements
Namespace: Amazon.CDK.AWS.Lex
Assembly: Amazon.CDK.AWS.Lex.dll
Syntax (csharp)
public class ButtonProperty : Object, CfnBot.IButtonProperty
Syntax (vb)
Public Class ButtonProperty
Inherits Object
Implements CfnBot.IButtonProperty
Remarks
Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lex-bot-button.html
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 buttonProperty = new ButtonProperty {
Text = "text",
Value = "value"
};
Synopsis
Constructors
ButtonProperty() |
Properties
Text | The text that appears on the button. |
Value | The value returned to Amazon Lex when the user chooses this button. |
Constructors
ButtonProperty()
public ButtonProperty()
Properties
Text
The text that appears on the button.
public string Text { get; set; }
Property Value
System.String
Remarks
Use this to tell the user what value is returned when they choose this button.
Value
The value returned to Amazon Lex when the user chooses this button.
public string Value { get; set; }
Property Value
System.String
Remarks
This must be one of the slot values configured for the slot.