pedrogimenez / fawsade

Provides a few custom methods for the AWS Ruby SDK

Home Page:https://github.com/pedrogimenez/fawsade

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Fawsade

Provides a few custom methods for the AWS Ruby SDK.

Usage

require "fawsade"

client = Fawsade::Client.new(
  region: "eu-west-1",
  access_key_id: "xxxx",
  secret_access_key: "xxxx")

client.instances_by_name(/api\d+/) # => [#<struct Fawsade::Instance id="i-xxxx", dns="ip-xxxx.eu-west-1.compute.internal", name="api01">, #<struct Fawsade::Instance id="i-xxxx", dns="ip-xxxx.eu-west-1.compute.internal", name="api02">]

client.instance_by_id("i-xxxx") # => #<struct Fawsade::Instance id="i-xxxx", dns="ip-xxxx.eu-west-1.compute.internal", name="api01">

About

Provides a few custom methods for the AWS Ruby SDK

https://github.com/pedrogimenez/fawsade

License:MIT License


Languages

Language:Ruby 100.0%