Project

eye-s3

0.0
No commit activity in last 3 years
No release in over 3 years
eye to s3 object
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.7
~> 10.0

Runtime

~> 3.0
>= 0.9
 Project Readme

Eye::S3

A notifier plugin for eye to send state changes to AWS S3

Installation

Add this line to your application's Gemfile:

gem 'eye'
gem 'eye-s3

And then execute:

$ bundle

Or install it yourself as:

$ gem install eye-s3

Usage

S3 notifier takes the following parameters:

  • bucket_name - required, a string with the S3 bucket name
  • region - optional, the AWS region for the S3::Client, uses us-east-1 by default

Declare inside eye config like this:

require 'eye/notify/eye_s3'

Eye.config do
  eye_s3 bucket_name: 'your-bucket-name'
  contact :dev, :eye_s3, '#test'
end

Authentication

EyeS3 notifier assumes the runtime environment is already configured to use the AWS SDK for ruby, for more info on how to do it check the official documentation.

It also assumes the client has the correct permissions to put objects on the correspondent S3 bucket.

Contributing

  1. Fork it ( https://github.com/ricardosllm/eye-s3/fork )
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request