Class: AWSCDK::SAM::CfnStateMachine::ScheduleEventProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::SAM::CfnStateMachine::ScheduleEventProperty
- Defined in:
- sam/cfn_state_machine.rb
Overview
Instance Attribute Summary collapse
- #input ⇒ String? readonly
- #schedule ⇒ String readonly
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(schedule:, input: nil) ⇒ ScheduleEventProperty
constructor
A new instance of ScheduleEventProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(schedule:, input: nil) ⇒ ScheduleEventProperty
Returns a new instance of ScheduleEventProperty.
1069 1070 1071 1072 1073 1074 |
# File 'sam/cfn_state_machine.rb', line 1069 def initialize(schedule:, input: nil) @schedule = schedule Jsii::Type.check_type(@schedule, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "schedule") @input = input Jsii::Type.check_type(@input, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "input") unless @input.nil? end |
Instance Attribute Details
#input ⇒ String? (readonly)
1081 1082 1083 |
# File 'sam/cfn_state_machine.rb', line 1081 def input @input end |
#schedule ⇒ String (readonly)
1078 1079 1080 |
# File 'sam/cfn_state_machine.rb', line 1078 def schedule @schedule end |
Class Method Details
.jsii_properties ⇒ Object
1083 1084 1085 1086 1087 1088 |
# File 'sam/cfn_state_machine.rb', line 1083 def self.jsii_properties { :schedule => "schedule", :input => "input", } end |
Instance Method Details
#to_jsii ⇒ Object
1090 1091 1092 1093 1094 1095 1096 1097 |
# File 'sam/cfn_state_machine.rb', line 1090 def to_jsii result = {} result.merge!({ "schedule" => @schedule, "input" => @input, }) result.compact end |