Module: Awspec::Helper::Finder::Dynamodb

Included in:
Awspec::Helper::Finder
Defined in:
lib/awspec/helper/finder/dynamodb.rb

Instance Method Summary collapse

Instance Method Details

#find_dynamodb_table(id) ⇒ Object



4
5
6
7
# File 'lib/awspec/helper/finder/dynamodb.rb', line 4

def find_dynamodb_table(id)
  resource = dynamodb_client.describe_table({ table_name: id }).table
  return resource if resource.table_name == id
end