AWS Groovy Library by Groovy Clouds

Sample Code & Libraries>Amazon SQS>AWS Groovy Library by Groovy Clouds
Community Contributed Software

  • Amazon Web Services provides links to these packages as a convenience for our customers, but software not authored by an "@AWS" account has not been reviewed or screened by AWS.
  • Please review this software to ensure it meets your needs before using it.

An open source library (AWSDrivers) for AWS written in Groovy. Java and Groovy projects can get started using S3, SQS, and SDB with a simple interface to AWS.

Details

Submitted By: groovyclouds1
AWS Products Used: Amazon S3, Amazon SQS, Amazon SimpleDB
Language(s): Java
License: MIT License
Source Control Access: http://code.google.com/p/awsgroovyclouds/
Created On: April 2, 2009 7:24 AM GMT
Last Updated: May 6, 2010 3:14 PM GMT
Download
  • Support for the latest versions of the API including latest SimpleDB BatchPutAttributes, up-to-date Signature Versions
  • Thread-safe drivers for accessing different AWS accounts
  • Introduction of concept of namespace to manage different developers accessing same AWS account, different AWS accounts
  • Easy integration for Java codebases
  • Easy configurable HTTP, HTTPS requests

You will need the SL4J jar file to use this library. Please see the samples directory in the download that gives an example code, a properties file to specify the AWS parameters and the SLF4J library is included in the lib directory.

Comments

Can't get this to work with groovy 1.7
Placed all the jars in my .groovy/lib Wrote a groovy script to try S3Driver.bucketExists: import com.groovyclouds.aws.S3Driver def accessKey = args[0] def secretKey = args[1] def bucketName = args[2] s3 = new S3Driver(accessKey, secretKey) if (s3.bucketExists(bucketName) ) { println "S3 buck ${bucketName} exists" } else { println "S3 buck ${bucketName} does not exist" } Caught: java.lang.NoClassDefFoundError: org/slf4j/impl/StaticLoggerBinder at com.groovyclouds.aws.AWSConnection.(AWSConnection.groovy:80)
tlqe on April 28, 2010 6:08 PM GMT
We are temporarily not accepting new comments.
©2014, Amazon Web Services, Inc. or its affiliates. All rights reserved.