ec2_instance_metadata 0.3.0

A crate for fetching AWS EC2 instance metadata.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# 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();
```