Sha256: 802b6fb028bb58b5e608f8b5d78c95af7557d76a4ff0775d49866612cff08891
Contents?: true
Size: 832 Bytes
Versions: 12
Compression:
Stored size: 832 Bytes
Contents
require_relative '../resource' module Convection module Model class Template class Resource ## # AWS::Events::Rule ## class EventsRule < Resource type 'AWS::Events::Rule' property :description, 'Description' property :domain, 'Domain' property :event_pattern, 'EventPattern', :type => :hash property :name, 'Name' property :role_arn, 'RoleArn' property :schedule_expression, 'ScheduleExpression' property :state, 'State' property :targets, 'Targets', :type => :array def target(&block) target = ResourceProperty::EventsRuleTarget.new(self) target.instance_exec(&block) if block targets << target end end end end end end
Version data entries
12 entries across 12 versions & 1 rubygems