mediapackage:ListTagsForResource

Read

mediapackage:ListTagsForResource is a Read access-level action in the mediapackage service. Grants permission to list the tags assigned to a Channel or OriginEndpoint

Resource types

ARNs that mediapackage:ListTagsForResource can be scoped to in an IAM policy.

arn:${Partition}:mediapackage:${Region}:${Account}:channels/${ChannelIdentifier}
channels
arn:${Partition}:mediapackage:${Region}:${Account}:harvest_jobs/${HarvestJobIdentifier}
harvest_jobs
arn:${Partition}:mediapackage:${Region}:${Account}:origin_endpoints/${OriginEndpointIdentifier}
origin_endpoints

Condition keys

Keys you can use in the Condition block of a policy that grants mediapackage:ListTagsForResource.

aws:ResourceTag/${TagKey} String

Filters access by the tag for a MediaPackage resource

Example IAM policy

A minimal policy that allows mediapackage:ListTagsForResource. Replace "Resource": "*" with a specific ARN to follow least privilege.

{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Sid": "AllowMediapackageListTagsForResource",
      "Effect": "Allow",
      "Action": "mediapackage:ListTagsForResource",
      "Resource": "*"
    }
  ]
}

Related actions in mediapackage

View all mediapackage actions →