image_attrs: AMI Attributes

Description Usage Arguments Value Examples

Description

Get, set, and reset AMI attributes

Usage

1
2
3
4
5
6
get_image_attr(image, attribute, ...)

set_image_attr(image, attribute, value, description, operationtype,
  launchpermission, usergroup, userid, ...)

reset_image_attr(image, attribute, ...)

Arguments

image

A character string containing an Amazon Machine Image (AMI) image ID or an object of class “ec2_image”.

attribute

A character string specifying one of: “description”, “kernel”, “ramdisk”, “launchPermission”, “productCodes”, “blockDeviceMapping”, “sriovNetSupport”

...

Additional arguments passed to [ec2HTTP()].

value

...

description

...

operationtype

...

launchpermission

...

usergroup

...

userid

...

Value

A list

Examples

1
2
3
4
5
## Not run: 
# RStudio AMIs from: http://www.louisaslett.com/RStudio_AMI/
get_image_attr("ami-7f9dc615", "description")

## End(Not run)

cloudyr/aws.ec2 documentation built on Jan. 14, 2020, 4:55 a.m.