Class: AWSCDK::Lex::CfnBot::TextInputSpecificationProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Lex::CfnBot::TextInputSpecificationProperty
- Defined in:
- lex/cfn_bot.rb
Overview
Specifies the text input specifications.
Instance Attribute Summary collapse
-
#start_timeout_ms ⇒ Numeric
readonly
Time for which a bot waits before re-prompting a customer for text input.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(start_timeout_ms:) ⇒ TextInputSpecificationProperty
constructor
A new instance of TextInputSpecificationProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(start_timeout_ms:) ⇒ TextInputSpecificationProperty
Returns a new instance of TextInputSpecificationProperty.
6528 6529 6530 6531 |
# File 'lex/cfn_bot.rb', line 6528 def initialize(start_timeout_ms:) @start_timeout_ms = start_timeout_ms Jsii::Type.check_type(@start_timeout_ms, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJudW1iZXIifQ==")), "startTimeoutMs") end |
Instance Attribute Details
#start_timeout_ms ⇒ Numeric (readonly)
Time for which a bot waits before re-prompting a customer for text input.
6537 6538 6539 |
# File 'lex/cfn_bot.rb', line 6537 def start_timeout_ms @start_timeout_ms end |
Class Method Details
.jsii_properties ⇒ Object
6539 6540 6541 6542 6543 |
# File 'lex/cfn_bot.rb', line 6539 def self.jsii_properties { :start_timeout_ms => "startTimeoutMs", } end |
Instance Method Details
#to_jsii ⇒ Object
6545 6546 6547 6548 6549 6550 6551 |
# File 'lex/cfn_bot.rb', line 6545 def to_jsii result = {} result.merge!({ "startTimeoutMs" => @start_timeout_ms, }) result.compact end |