Class: AWSCDK::SAM::CfnStateMachine::EventBridgeRuleEventProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::SAM::CfnStateMachine::EventBridgeRuleEventProperty
- Defined in:
- sam/cfn_state_machine.rb
Overview
Instance Attribute Summary collapse
- #event_bus_name ⇒ String? readonly
- #input ⇒ String? readonly
- #input_path ⇒ String? readonly
- #pattern ⇒ Object readonly
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(pattern:, event_bus_name: nil, input: nil, input_path: nil) ⇒ EventBridgeRuleEventProperty
constructor
A new instance of EventBridgeRuleEventProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(pattern:, event_bus_name: nil, input: nil, input_path: nil) ⇒ EventBridgeRuleEventProperty
Returns a new instance of EventBridgeRuleEventProperty.
759 760 761 762 763 764 765 766 767 768 |
# File 'sam/cfn_state_machine.rb', line 759 def initialize(pattern:, event_bus_name: nil, input: nil, input_path: nil) @pattern = pattern Jsii::Type.check_type(@pattern, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJhbnkifQ==")), "pattern") @event_bus_name = event_bus_name Jsii::Type.check_type(@event_bus_name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "eventBusName") unless @event_bus_name.nil? @input = input Jsii::Type.check_type(@input, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "input") unless @input.nil? @input_path = input_path Jsii::Type.check_type(@input_path, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "inputPath") unless @input_path.nil? end |
Instance Attribute Details
#event_bus_name ⇒ String? (readonly)
775 776 777 |
# File 'sam/cfn_state_machine.rb', line 775 def event_bus_name @event_bus_name end |
#input ⇒ String? (readonly)
778 779 780 |
# File 'sam/cfn_state_machine.rb', line 778 def input @input end |
#input_path ⇒ String? (readonly)
781 782 783 |
# File 'sam/cfn_state_machine.rb', line 781 def input_path @input_path end |
#pattern ⇒ Object (readonly)
772 773 774 |
# File 'sam/cfn_state_machine.rb', line 772 def pattern @pattern end |
Class Method Details
.jsii_properties ⇒ Object
783 784 785 786 787 788 789 790 |
# File 'sam/cfn_state_machine.rb', line 783 def self.jsii_properties { :pattern => "pattern", :event_bus_name => "eventBusName", :input => "input", :input_path => "inputPath", } end |
Instance Method Details
#to_jsii ⇒ Object
792 793 794 795 796 797 798 799 800 801 |
# File 'sam/cfn_state_machine.rb', line 792 def to_jsii result = {} result.merge!({ "pattern" => @pattern, "eventBusName" => @event_bus_name, "input" => @input, "inputPath" => @input_path, }) result.compact end |