# NOT RUN {
# This example adds two tags to the specified Auto Scaling group.
# }
# NOT RUN {
svc$create_or_update_tags(
Tags = list(
list(
Key = "Role",
PropagateAtLaunch = TRUE,
ResourceId = "my-auto-scaling-group",
ResourceType = "auto-scaling-group",
Value = "WebServer"
),
list(
Key = "Dept",
PropagateAtLaunch = TRUE,
ResourceId = "my-auto-scaling-group",
ResourceType = "auto-scaling-group",
Value = "Research"
)
)
)
# }
# NOT RUN {
# }
Run the code above in your browser using DataLab