# NOT RUN {
# This example adds the tag Stack=production to the specified image, or
# overwrites an existing tag for the AMI where the tag key is Stack.
# }
# NOT RUN {
svc$create_tags(
Resources = list(
"ami-78a54011"
),
Tags = list(
list(
Key = "Stack",
Value = "production"
)
)
)
# }
# NOT RUN {
# }
Run the code above in your browser using DataLab