Class: Humidifier::Events::Rule
- Defined in:
- lib/humidifier/magic.rb
Overview
A dynamically-defined class that represents an AWS::Events::Rule resource
Constant Summary
Constants inherited from Resource
Instance Method Summary collapse
-
#description ⇒ Object
returns the Description property.
-
#description=(value) ⇒ Object
sets the Description property (String).
-
#event_bus_name ⇒ Object
returns the EventBusName property.
-
#event_bus_name=(value) ⇒ Object
sets the EventBusName property (String).
-
#event_pattern ⇒ Object
returns the EventPattern property.
-
#event_pattern=(value) ⇒ Object
sets the EventPattern property (Json).
-
#name ⇒ Object
returns the Name property.
-
#name=(value) ⇒ Object
sets the Name property (String).
-
#role_arn ⇒ Object
returns the RoleArn property.
-
#role_arn=(value) ⇒ Object
sets the RoleArn property (String).
-
#schedule_expression ⇒ Object
returns the ScheduleExpression property.
-
#schedule_expression=(value) ⇒ Object
sets the ScheduleExpression property (String).
-
#state ⇒ Object
returns the State property.
-
#state=(value) ⇒ Object
sets the State property (String).
-
#targets ⇒ Object
returns the Targets property.
-
#targets=(value) ⇒ Object
sets the Targets property (List).
Methods inherited from Resource
#initialize, #method_missing, prop?, #respond_to_missing?, #to_cf, #update, #update_attributes, #update_property
Constructor Details
This class inherits a constructor from Humidifier::Resource
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class Humidifier::Resource
Instance Method Details
#description ⇒ Object
returns the Description property
10 11 12 |
# File 'lib/humidifier/magic.rb', line 10 def description properties['description'] end |
#description=(value) ⇒ Object
sets the Description property (String)
15 16 17 |
# File 'lib/humidifier/magic.rb', line 15 def description=(value) update_property('description', value) end |
#event_bus_name ⇒ Object
returns the EventBusName property
20 21 22 |
# File 'lib/humidifier/magic.rb', line 20 def event_bus_name properties['event_bus_name'] end |
#event_bus_name=(value) ⇒ Object
sets the EventBusName property (String)
25 26 27 |
# File 'lib/humidifier/magic.rb', line 25 def event_bus_name=(value) update_property('event_bus_name', value) end |
#event_pattern ⇒ Object
returns the EventPattern property
30 31 32 |
# File 'lib/humidifier/magic.rb', line 30 def event_pattern properties['event_pattern'] end |
#event_pattern=(value) ⇒ Object
sets the EventPattern property (Json)
35 36 37 |
# File 'lib/humidifier/magic.rb', line 35 def event_pattern=(value) update_property('event_pattern', value) end |
#name ⇒ Object
returns the Name property
40 41 42 |
# File 'lib/humidifier/magic.rb', line 40 def name properties['name'] end |
#name=(value) ⇒ Object
sets the Name property (String)
45 46 47 |
# File 'lib/humidifier/magic.rb', line 45 def name=(value) update_property('name', value) end |
#role_arn ⇒ Object
returns the RoleArn property
50 51 52 |
# File 'lib/humidifier/magic.rb', line 50 def role_arn properties['role_arn'] end |
#role_arn=(value) ⇒ Object
sets the RoleArn property (String)
55 56 57 |
# File 'lib/humidifier/magic.rb', line 55 def role_arn=(value) update_property('role_arn', value) end |
#schedule_expression ⇒ Object
returns the ScheduleExpression property
60 61 62 |
# File 'lib/humidifier/magic.rb', line 60 def schedule_expression properties['schedule_expression'] end |
#schedule_expression=(value) ⇒ Object
sets the ScheduleExpression property (String)
65 66 67 |
# File 'lib/humidifier/magic.rb', line 65 def schedule_expression=(value) update_property('schedule_expression', value) end |
#state ⇒ Object
returns the State property
70 71 72 |
# File 'lib/humidifier/magic.rb', line 70 def state properties['state'] end |
#state=(value) ⇒ Object
sets the State property (String)
75 76 77 |
# File 'lib/humidifier/magic.rb', line 75 def state=(value) update_property('state', value) end |
#targets ⇒ Object
returns the Targets property
80 81 82 |
# File 'lib/humidifier/magic.rb', line 80 def targets properties['targets'] end |
#targets=(value) ⇒ Object
sets the Targets property (List)
85 86 87 |
# File 'lib/humidifier/magic.rb', line 85 def targets=(value) update_property('targets', value) end |