paws.compute (version 0.1.0)

ecs_untag_resource: Deletes specified tags from a resource

Description

Deletes specified tags from a resource.

Usage

ecs_untag_resource(resourceArn, tagKeys)

Arguments

resourceArn

[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.

tagKeys

[required] The keys of the tags to be removed.

Request syntax

svc$untag_resource(
  resourceArn = "string",
  tagKeys = list(
    "string"
  )
)

Examples

Run this code
# 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