Deletes specified tags from a resource.
ecs_untag_resource(resourceArn, tagKeys)
[required] The Amazon Resource Name (ARN) of the resource from which to delete tags. Currently, the supported resources are Amazon ECS tasks, services, task definitions, clusters, and container instances.
[required] The keys of the tags to be removed.
svc$untag_resource( resourceArn = "string", tagKeys = list( "string" ) )
# NOT RUN {
# This example deletes the 'team' tag from the 'dev' cluster.
# }
# NOT RUN {
svc$untag_resource(
resourceArn = "arn:aws:ecs:region:aws_account_id:cluster/dev",
tagKeys = list(
"team"
)
)
# }
# NOT RUN {
# }
Run the code above in your browser using DataLab