Skip to content
Scala client for Amazon S3
Branch: master
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
project Upgrade awscala to 0.8.2 May 8, 2019
src Upgrade awscala to 0.7.1 Jul 20, 2018
.gitignore Initial Import Jul 28, 2014
.travis.yml Upgrade awscala to 0.8.1 Feb 28, 2019
LICENSE Initial Import Jul 28, 2014
README.md Release 0.0.15 May 22, 2019
build.sbt Upgrade awscala to 0.8.2 May 8, 2019
version.sbt Setting version to 0.0.16-SNAPSHOT May 22, 2019

README.md

aws-s3-scala Build Status

Scala client for Amazon S3

How to use

Add a following dependency into your build.sbt at first.

libraryDependencies += "jp.co.bizreach" %% "aws-s3-scala" % "0.0.15"

Then you can access S3 as following:

import jp.co.bizreach.s3scala.S3
import awscala.s3._
import awscala.Region

implicit val region = Region.Tokyo
implicit val s3 = S3(accessKeyId = "xxx", secretAccessKey = "xxx")

val bucket: Bucket = s3.createBucket("unique-name-xxx")
bucket.put("sample.txt", new java.io.File("sample.txt"))

s3-scala also provide mock implementation which works on the local file system.

implicit val s3 = S3.local(new java.io.File("s3data"))

Major methods are implemented in this mock, however some methods are not implemented. These methods throw NotImplementedError if invoked.

You can’t perform that action at this time.