To cite package 'aws.ec2metadata' in publications use:

Thomas J. Leeper (2018). aws.ec2metadata: An R Packge. R package version 0.1.5.

Corresponding BibTeX entry:

  @Manual{,
    title = {aws.ec2metadata: An R Package},
    author = {Thomas J. Leeper},
    year = {2018},
    note = {R package version 0.1.5},
  }