class Awspec::Type::CloudwatchAlarm

Public Instance Methods

has_alarm_action?(name) click to toggle source
# File lib/awspec/type/cloudwatch_alarm.rb, line 15
def has_alarm_action?(name)
  resource_via_client.alarm_actions.include?(name)
end
has_insufficient_data_action?(name) click to toggle source
# File lib/awspec/type/cloudwatch_alarm.rb, line 19
def has_insufficient_data_action?(name)
  resource_via_client.insufficient_data_actions.include?(name)
end
has_ok_action?(name) click to toggle source
# File lib/awspec/type/cloudwatch_alarm.rb, line 11
def has_ok_action?(name)
  resource_via_client.ok_actions.include?(name)
end
id() click to toggle source
# File lib/awspec/type/cloudwatch_alarm.rb, line 7
def id
  @id ||= resource_via_client.alarm_arn if resource_via_client
end
resource_via_client() click to toggle source
# File lib/awspec/type/cloudwatch_alarm.rb, line 3
def resource_via_client
  @resource_via_client ||= find_cloudwatch_alarm(@display_name)
end