Method: Awspec::Type::Rds#initialize

Defined in:
lib/awspec/type/rds.rb

#initialize(id) ⇒ Rds

Returns a new instance of Rds.



5
6
7
8
9
# File 'lib/awspec/type/rds.rb', line 5

def initialize(id)
  super
  @resource_via_client = find_rds(id)
  @id = @resource_via_client.db_instance_identifier if @resource_via_client
end