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

Thomas J. Leeper (2019). aws.ec2metadata: An R Packge. R package version 0.2.0.

Corresponding BibTeX entry:

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