Jul 31, 2015
lein try com.palletops/aws-instance-types "0.1.1"
<dependency> <groupId>com.palletops</groupId> <artifactId>aws-instance-types</artifactId> <version>0.1.1</version> </dependency>
"com.palletops" % "aws-instance-types" % "0.1.1"
Also in the 'com.palletops' group
Static data about AWS Instance Types.
The data is maintained in an EDN file. JSON and YAML are generated from this file.
If you want dynamic pricing data, there are several libraries available, such as amazon-pricing.
To use the EDN data, add a dependency on
[com.palletops/aws-instance-types "0.1.1"], which will use the published jar which is on clojars. The data is available as a resource at
com/palletops/aws=instance-types.edn, and can be loaded with:
(-> "com/palletops/aws-instance-types.edn" io/resource io/reader load-reader)
var awsInstanceTypes = require('aws-instance-types'); var output = awsInstanceTypes.instanceTypes(); console.log(output);
Copyright © 2015 Hugo Duncan
Distributed under the Eclipse Public License either version 1.0 or (at your option) any later version.