class Awspec::Type::Firehose

Constants

STATES

Public Class Methods

new(name) click to toggle source
Calls superclass method
# File lib/awspec/type/firehose.rb, line 5
def initialize(name)
  super
  @delivery_stream_name = name
end

Public Instance Methods

has_splunk_destination?() click to toggle source
# File lib/awspec/type/firehose.rb, line 26
def has_splunk_destination?
  resource_via_client.destinations.find do |dest|
    dest.splunk_destination_description
  end
end
id() click to toggle source
# File lib/awspec/type/firehose.rb, line 14
def id
  @id ||= @delivery_stream_name if resource_via_client
end
resource_via_client() click to toggle source
# File lib/awspec/type/firehose.rb, line 10
def resource_via_client
  @resource_via_client ||= find_delivery_stream(@delivery_stream_name)
end