Class: AWSCDK::SAM::CfnStateMachine::CloudWatchEventEventProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::SAM::CfnStateMachine::CloudWatchEventEventProperty
- 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) ⇒ CloudWatchEventEventProperty
constructor
A new instance of CloudWatchEventEventProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(pattern:, event_bus_name: nil, input: nil, input_path: nil) ⇒ CloudWatchEventEventProperty
Returns a new instance of CloudWatchEventEventProperty.
677 678 679 680 681 682 683 684 685 686 |
# File 'sam/cfn_state_machine.rb', line 677 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)
693 694 695 |
# File 'sam/cfn_state_machine.rb', line 693 def event_bus_name @event_bus_name end |
#input ⇒ String? (readonly)
696 697 698 |
# File 'sam/cfn_state_machine.rb', line 696 def input @input end |
#input_path ⇒ String? (readonly)
699 700 701 |
# File 'sam/cfn_state_machine.rb', line 699 def input_path @input_path end |
#pattern ⇒ Object (readonly)
690 691 692 |
# File 'sam/cfn_state_machine.rb', line 690 def pattern @pattern end |
Class Method Details
.jsii_properties ⇒ Object
701 702 703 704 705 706 707 708 |
# File 'sam/cfn_state_machine.rb', line 701 def self.jsii_properties { :pattern => "pattern", :event_bus_name => "eventBusName", :input => "input", :input_path => "inputPath", } end |
Instance Method Details
#to_jsii ⇒ Object
710 711 712 713 714 715 716 717 718 719 |
# File 'sam/cfn_state_machine.rb', line 710 def to_jsii result = {} result.merge!({ "pattern" => @pattern, "eventBusName" => @event_bus_name, "input" => @input, "inputPath" => @input_path, }) result.compact end |