Class: AWSCDK::SAM::CfnFunction::EventBridgeRuleEventProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::SAM::CfnFunction::EventBridgeRuleEventProperty
- Defined in:
- sam/cfn_function.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.
1734 1735 1736 1737 1738 1739 1740 1741 1742 1743 |
# File 'sam/cfn_function.rb', line 1734 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)
1750 1751 1752 |
# File 'sam/cfn_function.rb', line 1750 def event_bus_name @event_bus_name end |
#input ⇒ String? (readonly)
1753 1754 1755 |
# File 'sam/cfn_function.rb', line 1753 def input @input end |
#input_path ⇒ String? (readonly)
1756 1757 1758 |
# File 'sam/cfn_function.rb', line 1756 def input_path @input_path end |
#pattern ⇒ Object (readonly)
1747 1748 1749 |
# File 'sam/cfn_function.rb', line 1747 def pattern @pattern end |
Class Method Details
.jsii_properties ⇒ Object
1758 1759 1760 1761 1762 1763 1764 1765 |
# File 'sam/cfn_function.rb', line 1758 def self.jsii_properties { :pattern => "pattern", :event_bus_name => "eventBusName", :input => "input", :input_path => "inputPath", } end |
Instance Method Details
#to_jsii ⇒ Object
1767 1768 1769 1770 1771 1772 1773 1774 1775 1776 |
# File 'sam/cfn_function.rb', line 1767 def to_jsii result = {} result.merge!({ "pattern" => @pattern, "eventBusName" => @event_bus_name, "input" => @input, "inputPath" => @input_path, }) result.compact end |