Class: Convection::Model::Template::Resource::EventsRule
Overview
Instance Attribute Summary
#exist, #parent, #properties, #resource_attributes, #template
Instance Method Summary
collapse
#as_attribute, attach_method, #deletion_policy, #depends_on, #initialize, properties, property, #property, #reference, #render, type, #type, #with_output
#condition, #render_condition
attach_resource
#camel_case, included, method_name, #screaming_snake_case, #snake_case
#base64, #find_in_map, #fn_and, #fn_equals, #fn_if, #fn_not, #fn_or, #fn_ref, #get_att, #get_azs, #join, #select
Instance Method Details
#description ⇒ Object
#description(value) ⇒ Object
12
|
# File 'lib/convection/model/template/resource/aws_events_rule.rb', line 12
property :description, 'Description'
|
#domain ⇒ Object
#domain(value) ⇒ Object
13
|
# File 'lib/convection/model/template/resource/aws_events_rule.rb', line 13
property :domain, 'Domain'
|
#event_pattern(value) ⇒ Object
Event patterns are documented as the type “JSON Object”. We can define it
here as a Hash. Example usage of the `event_pattern` method property being
used can be found in the EventsRule spec.
18
|
# File 'lib/convection/model/template/resource/aws_events_rule.rb', line 18
property :event_pattern, 'EventPattern', :type => :hash
|
#name ⇒ Object
#name(value) ⇒ Object
19
|
# File 'lib/convection/model/template/resource/aws_events_rule.rb', line 19
property :name, 'Name'
|
#role_arn ⇒ Object
#role_arn(value) ⇒ Object
20
|
# File 'lib/convection/model/template/resource/aws_events_rule.rb', line 20
property :role_arn, 'RoleArn'
|
#schedule_expression ⇒ Object
#schedule_expression(value) ⇒ Object
21
|
# File 'lib/convection/model/template/resource/aws_events_rule.rb', line 21
property :schedule_expression, 'ScheduleExpression'
|
#state ⇒ Object
#state(value) ⇒ Object
22
|
# File 'lib/convection/model/template/resource/aws_events_rule.rb', line 22
property :state, 'State'
|
#target(&block) ⇒ Object
25
26
27
28
29
|
# File 'lib/convection/model/template/resource/aws_events_rule.rb', line 25
def target(&block)
target = ResourceProperty::EventsRuleTarget.new(self)
target.instance_exec(&block) if block
targets << target
end
|
#targets ⇒ Object
#targets(value) ⇒ Object
23
|
# File 'lib/convection/model/template/resource/aws_events_rule.rb', line 23
property :targets, 'Targets', :type => :array
|