talira

AWS SDK for Ruby

Amazon Web Services' official Ruby gems for calling AWS services

open sourceApache-2.0free

The AWS SDK for Ruby (version 3) is Amazon Web Services' official library for calling AWS services from Ruby. It's modular: each service is its own gem (aws-sdk-s3, aws-sdk-ec2 and so on) on top of aws-sdk-core, and the aws-sdk gem pulls in all of them. Clients find credentials and a region in the environment, the shared AWS config files, an EC2 instance profile or the ECS credential provider, and responses are enumerable for paging. It also has waiters that poll for a resource's state and hand-written resource interfaces for a few services, such as S3.

Problems it solves

  • upload files to S3 from my Rails app
  • call AWS services from a Ruby script with the official SDK
  • use only the AWS gems my Ruby app needs instead of one huge dependency

Features

  • a gem for each AWS service, or aws-sdk for all of them
  • credentials from the environment, shared config files, SSO, instance profiles or ECS
  • enumerable responses for paging
  • waiters that poll for a resource state
  • resource interfaces for a few services such as S3
  • semantic versioning per gem

Alternatives

The same job

These do what AWS SDK for Ruby does.

  1. Google APIs Client Library for Ruby Google's generated REST clients for Google APIs in Ruby

Compare AWS SDK for Ruby with the top 3