aoss:ListTagsForResource

List

aoss:ListTagsForResource is a List access-level action in the aoss service. Grants permission to list tags for a collection, collection group, ingestion job, or ingestion stream

Resource types

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

arn:${Partition}:aoss:${Region}:${Account}:collection/${CollectionId} required
Collection
arn:${Partition}:aoss:${Region}:${Account}:collection-group/${CollectionGroupId} required
CollectionGroup
arn:${Partition}:aoss:${Region}:${Account}:collection/${CollectionId}/ingestion-job/${IngestionJobId} required
IngestionJob
arn:${Partition}:aoss:${Region}:${Account}:collection/${CollectionId}/ingestion-stream/${IngestionStreamId} required
IngestionStream

Condition keys

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

aws:ResourceTag/${TagKey} String

Filters access based on the tags associated with the resource

Example IAM policy

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

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

Related actions in aoss

View all aoss actions →