paws.compute (version 0.1.0)

ecs_list_tags_for_resource: List the tags for an Amazon ECS resource

Description

List the tags for an Amazon ECS resource.

Usage

ecs_list_tags_for_resource(resourceArn)

Arguments

resourceArn

[required] The Amazon Resource Name (ARN) that identifies the resource for which to list the tags. Currently, the supported resources are Amazon ECS tasks, services, task definitions, clusters, and container instances.

Request syntax

svc$list_tags_for_resource(
  resourceArn = "string"
)

Examples

Run this code
# NOT RUN {
# This example lists the tags for the 'dev' cluster.
# }
# NOT RUN {
svc$list_tags_for_resource(
  resourceArn = "arn:aws:ecs:region:aws_account_id:cluster/dev"
)
# }
# NOT RUN {
# }

Run the code above in your browser using DataLab