Sha256: 66355e5c967732239d943fc7c68fce2d9a06e2a16b5112ff5cd0df2453ceb216
Contents?: true
Size: 412 Bytes
Versions: 26
Compression:
Stored size: 412 Bytes
Contents
module Awspec::Type class CloudwatchEvent < Base def resource_via_client @resource_via_client ||= find_cloudwatch_event(@display_name) end def 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
26 entries across 26 versions & 1 rubygems