Class: AWSCDK::SAM::CfnStateMachine::EventSourceProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::SAM::CfnStateMachine::EventSourceProperty
- Defined in:
- sam/cfn_state_machine.rb
Overview
Instance Attribute Summary collapse
- #properties ⇒ AWSCDK::IResolvable, ... readonly
- #type ⇒ String readonly
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(properties:, type:) ⇒ EventSourceProperty
constructor
A new instance of EventSourceProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(properties:, type:) ⇒ EventSourceProperty
Returns a new instance of EventSourceProperty.
810 811 812 813 814 815 |
# File 'sam/cfn_state_machine.rb', line 810 def initialize(properties:, type:) @properties = properties Jsii::Type.check_type(@properties, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19zYW0uQ2ZuU3RhdGVNYWNoaW5lLkFwaUV2ZW50UHJvcGVydHkifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19zYW0uQ2ZuU3RhdGVNYWNoaW5lLkNsb3VkV2F0Y2hFdmVudEV2ZW50UHJvcGVydHkifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19zYW0uQ2ZuU3RhdGVNYWNoaW5lLkV2ZW50QnJpZGdlUnVsZUV2ZW50UHJvcGVydHkifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19zYW0uQ2ZuU3RhdGVNYWNoaW5lLlNjaGVkdWxlRXZlbnRQcm9wZXJ0eSJ9XX19")), "properties") @type = type Jsii::Type.check_type(@type, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "type") end |
Instance Attribute Details
#properties ⇒ AWSCDK::IResolvable, ... (readonly)
819 820 821 |
# File 'sam/cfn_state_machine.rb', line 819 def properties @properties end |
#type ⇒ String (readonly)
822 823 824 |
# File 'sam/cfn_state_machine.rb', line 822 def type @type end |
Class Method Details
.jsii_properties ⇒ Object
824 825 826 827 828 829 |
# File 'sam/cfn_state_machine.rb', line 824 def self.jsii_properties { :properties => "properties", :type => "type", } end |
Instance Method Details
#to_jsii ⇒ Object
831 832 833 834 835 836 837 838 |
# File 'sam/cfn_state_machine.rb', line 831 def to_jsii result = {} result.merge!({ "properties" => @properties, "type" => @type, }) result.compact end |