mediastore:DeleteCorsPolicy

Write

mediastore:DeleteCorsPolicy is a Write access-level action in the mediastore service. Grants permission to delete the CORS policy from a container

Resource types

ARNs that mediastore:DeleteCorsPolicy 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:DeleteCorsPolicy.

aws:ResourceTag/${TagKey} String

Filters access by the tags associated with the resource

Example IAM policy

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

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

Related actions in mediastore

View all mediastore actions →