clj-aws-ec2 icon indicating copy to clipboard operation
clj-aws-ec2 copied to clipboard

implementation of to-map for Instance class is missing some fields

Open bhurlow opened this issue 10 years ago • 1 comments

I was looking here trying to get the public ip of an instance and noticed that there was no implementation of .getPublicIpAddress

I think it might be helpful to add some more methods:

http://docs.aws.amazon.com/AWSJavaSDK/latest/javadoc/com/amazonaws/services/ec2/model/Instance.html

bhurlow avatar Mar 15 '16 05:03 bhurlow

I have been using clj-aws-ec2 to get a better handle on the aws java sdk and by now, I have a lot of extensions to Mappable. After looking at ec2.clj, I figured out how to add the ones I needed.

There are some naming that I have adjusted (an Instance has an :instance-id in my mapping not just an :id, for example). A consistent naming does make it easier to remember what the objects are supposed to "have", when switching back and forth between Java, Python, the AWS-CLI and Clojure.

I have yet to figure out if the target audience for clj-aws-ec2 have moved on to something else, but I still believe that it provides enough of a basis for the exploratory work that I do at the moment.

I've recently experimented with the Waiters and everything seems to work fine, even when the newest version of the SDK is added to a project in conjunction with clj-aws-ec2.

So, have people moved on and if so, where is everybody? :-)

klang avatar Feb 17 '17 08:02 klang