Official AWS SDK for Ruby version 3: install per-service gems from RubyGems to call AWS with Ruby classes, credentials from env or shared files, and rich client helpers.
Overview
The AWS SDK for Ruby is a family of gems that wrap AWS service APIs for Ruby developers. Version 3 splits each service into its own gem so applications depend only on the clients they need, with an optional meta-gem that bundles every service for migrations or broad experimentation.
You configure region and credentials through environment variables, shared `~/.aws/credentials` and `~/.aws/config` files, instance profiles on EC2, or ECS task roles. The `Aws.config` hash and per-client options override defaults, and multiple credential provider types are supported including SSO and assumed roles.
Service clients expose one method per API operation and return structured response objects. Responses support enumeration for automatic paging, waiters poll until resources reach expected states, and a subset of services offer higher-level resource interfaces. An interactive REPL ships with the combined gem for ad hoc console testing.
Optional aws-crt bindings unlock features such as additional S3 checksum support. Companion gems integrate with Rails for queues, mailers, DynamoDB mapping, and sessions. Semantic versioning applies across the published gems on RubyGems.
Key features
- Per-service RubyGems modules
- Shared credentials and region config
- Paginated and enumerable responses
- Waiters for resource state polling
- Configurable Aws.config defaults
- Interactive aws-v3.rb REPL
- Optional AWS CRT bindings
- Rails and DynamoDB helper gems
Use cases
- Ruby apps using S3 or EC2 APIs
- Rails background jobs on SQS
- Scripts with shared AWS profiles
- Operational REPL exploration of APIs