Description Usage Arguments Value References See Also Examples
Tag an EC2 Resource
1 2 3 4 5 | create_tags(resource, tag, ...)
delete_tags(resource, tag = NULL, ...)
describe_tags(filter = NULL, n = NULL, page = NULL, ...)
|
resource |
A character vector specifying one or more resource IDs, typically EC2 instance IDs. |
tag |
A named character string of key-value pairs of tag names and their corresponding values. For |
... |
Additional arguments passed to [ec2HTTP()]. |
filter |
... |
n |
... |
page |
... |
For create_tags
and delete_tags
, a logical. Otherwise, a list of tags.
http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Using_Tags.html http://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeTags.html http://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateTags.html http://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeTags.html
describe_instances()
, get_instance_attr()
, associate_ip()
1 2 3 4 5 6 7 | ## Not run:
create_tags("i-b79cfd34", list(foo = "bar"))
describe_tags()
delete_tags("i-b79cfd34", list("foo" = "notbar"))
delete_tags("i-b79cfd34", list("foo" = "bar"))
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.