Class: AWSCDK::Chime::CfnAppInstanceBot::InvokedByProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Chime::CfnAppInstanceBot::InvokedByProperty
- Defined in:
- chime/cfn_app_instance_bot.rb
Overview
Specifies the type of message that triggers a bot.
Instance Attribute Summary collapse
-
#standard_messages ⇒ String
readonly
Sets standard messages as the bot trigger.
-
#targeted_messages ⇒ String
readonly
Sets targeted messages as the bot trigger.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(standard_messages:, targeted_messages:) ⇒ InvokedByProperty
constructor
A new instance of InvokedByProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(standard_messages:, targeted_messages:) ⇒ InvokedByProperty
Returns a new instance of InvokedByProperty.
624 625 626 627 628 629 |
# File 'chime/cfn_app_instance_bot.rb', line 624 def initialize(standard_messages:, targeted_messages:) @standard_messages = Jsii::Type.check_type(@standard_messages, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "standardMessages") @targeted_messages = Jsii::Type.check_type(@targeted_messages, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "targetedMessages") end |
Instance Attribute Details
#standard_messages ⇒ String (readonly)
Sets standard messages as the bot trigger.
635 636 637 |
# File 'chime/cfn_app_instance_bot.rb', line 635 def @standard_messages end |
#targeted_messages ⇒ String (readonly)
Sets targeted messages as the bot trigger.
640 641 642 |
# File 'chime/cfn_app_instance_bot.rb', line 640 def @targeted_messages end |
Class Method Details
.jsii_properties ⇒ Object
642 643 644 645 646 647 |
# File 'chime/cfn_app_instance_bot.rb', line 642 def self.jsii_properties { :standard_messages => "standardMessages", :targeted_messages => "targetedMessages", } end |
Instance Method Details
#to_jsii ⇒ Object
649 650 651 652 653 654 655 656 |
# File 'chime/cfn_app_instance_bot.rb', line 649 def to_jsii result = {} result.merge!({ "standardMessages" => @standard_messages, "targetedMessages" => @targeted_messages, }) result.compact end |