Project Name | Stars | Downloads | Repos Using This | Packages Using This | Most Recent Commit | Total Releases | Latest Release | Open Issues | License | Language |
---|---|---|---|---|---|---|---|---|---|---|
Aws Sdk Java | 3,913 | 26 | 22 | 3 days ago | 933 | May 04, 2022 | 141 | apache-2.0 | ||
The official AWS SDK for Java. | ||||||||||
Pynamodb | 2,125 | 1 | 21 days ago | 13 | June 09, 2022 | 254 | mit | Python | ||
A pythonic interface to Amazon's DynamoDB | ||||||||||
Lambdauth | 1,347 | 3 years ago | 38 | mit | JavaScript | |||||
A sample authentication service implemented with a server-less architecture, using AWS Lambda to host and execute the code and Amazon DynamoDB as persistent storage. This provides a cost-efficient solution that is scalable and highly available and can be used with Amazon Cognito for Developer Authenticated Identities. | ||||||||||
Awesome Dynamodb | 1,251 | 15 days ago | 1 | |||||||
List of resources for learning about modeling, operating, and using Amazon DynamoDB | ||||||||||
Learn Aws Lambda | 945 | a year ago | 3 | September 08, 2016 | 52 | JavaScript | ||||
✨ Learn how to use AWS Lambda to easily create infinitely scalable web services | ||||||||||
Dynalite | 918 | 177 | 78 | a year ago | 121 | February 08, 2022 | 40 | mit | JavaScript | |
An implementation of Amazon's DynamoDB built on LevelDB | ||||||||||
Dynamodump | 801 | a month ago | 14 | May 02, 2022 | 2 | mit | Python | |||
Simple backup and restore for Amazon DynamoDB using AWS SDK for Python (boto3) | ||||||||||
Dynamodb Data Mapper Js | 758 | 29 | 43 | a year ago | 17 | August 15, 2018 | 77 | apache-2.0 | TypeScript | |
A schema-based data mapper for Amazon DynamoDB. | ||||||||||
Awscala | 738 | 11 | 2 days ago | 9 | February 13, 2021 | 71 | other | Scala | ||
Using AWS SDK on the Scala REPL | ||||||||||
Lambda Refarch Imagerecognition | 656 | 2 months ago | 10 | apache-2.0 | JavaScript | |||||
The Image Recognition and Processing Backend reference architecture demonstrates how to use AWS Step Functions to orchestrate a serverless processing workflow using AWS Lambda, Amazon S3, Amazon DynamoDB and Amazon Rekognition. |
A data mapping abstraction over the AWS SDK for Ruby's client for Amazon DynamoDB.
This library is currently under development. More features will be added as we approach general availability, and while our initial release has as small of an API surface area as possible, the interface may change before the GA release.
We would like to invite you to be a part of the ongoing development of this gem. We welcome your contributions, and would also be happy to hear from you about how you would like to use this gem. Feature requests are welcome.
Aws::Record
is available as the aws-record
gem from RubyGems.
gem install 'aws-record'
gem 'aws-record', '~> 2.0'
This automatically includes a dependency on the aws-sdk-dynamodb
gem (part of the modular version-3 of
the AWS SDK for Ruby. If you need to pin to a specific version,
you can add aws-sdk-dynamodb
or aws-sdk-core gem in your
Gemfile.
To create a model that uses aws-record
features, simply include the provided
module:
class MyModel
include Aws::Record
end
You can then specify attributes using the aws-record
DSL:
class MyModel
include Aws::Record
integer_attr :id, hash_key: true
string_attr :name, range_key: true
boolean_attr :active, database_attribute_name: "is_active_flag"
end
If a matching table does not exist in DynamoDB, you can use the TableConfig DSL to create your table:
cfg = Aws::Record::TableConfig.define do |t|
t.model_class(MyModel)
t.read_capacity_units(5)
t.write_capacity_units(2)
end
cfg.migrate!
With a table in place, you can then use your model class to manipulate items in your table:
item = MyModel.find(id: 1, name: "Hello Record")
item.active = true
item.save
item.delete!
MyModel.find(id: 1, name: "Hello Record") # => nil
item = MyModel.new
item.id = 2
item.name = "Item"
item.active = false
item.save