mediastore:GetMetricPolicy

Read

mediastore:GetMetricPolicy is a Read access-level action in the mediastore service. Grants permission to retrieve the metric policy that is assigned to a container

Resource types

ARNs that mediastore:GetMetricPolicy can be scoped to in an IAM policy.

arn:${Partition}:mediastore:${Region}:${Account}:container/${ContainerName}
container

Condition keys

Keys you can use in the Condition block of a policy that grants mediastore:GetMetricPolicy.

aws:ResourceTag/${TagKey} String

Filters access by the tags associated with the resource

Example IAM policy

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

{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Sid": "AllowMediastoreGetMetricPolicy",
      "Effect": "Allow",
      "Action": "mediastore:GetMetricPolicy",
      "Resource": "*"
    }
  ]
}

Related actions in mediastore

View all mediastore actions →