Sha256: 5312ae1b76400ca6b06f589f6cdbba4198e2c28d891efc21f6e76f3a422fda85
Contents?: true
Size: 388 Bytes
Versions: 9
Compression:
Stored size: 388 Bytes
Contents
module Awspec::Type class CloudwatchEvent < Base def initialize(id) super @resource_via_client = find_cloudwatch_event(id) @id = @resource_via_client.arn if @resource_via_client end def enable? @resource_via_client.state == 'ENABLED' end def scheduled?(schedule) @resource_via_client.schedule_expression == schedule end end end
Version data entries
9 entries across 9 versions & 1 rubygems