7 releases
0.3.0 | Aug 25, 2020 |
---|---|
0.2.2 | Jul 28, 2020 |
0.2.0 | Jun 18, 2020 |
0.1.2 | Apr 29, 2020 |
#22 in #ec2
2,154 downloads per month
Used in 7 crates
(via quickwit-storage)
12KB
238 lines
EC2 Instance Metadata Crate
This crate provides functionality for getting the Instance Metadata from an EC2 instance. This API makes use of the v2 API to remain future facing.
Installing/Using
Add the following line to your Cargo.toml
:
ec2_instance_metadata = "0.2"
Example Code:
extern crate ec2_instance_metadata;
let client = ec2_instance_metadata::InstanceMetadataClient::new();
let metadata = client.get().unwrap();
Dependencies
~2.8–4MB
~71K SLoC