cloudfront:DeleteOriginRequestPolicy

Write

cloudfront:DeleteOriginRequestPolicy is a Write access-level action in the cloudfront service. Grants permission to delete an origin request policy

Resource types

ARNs that cloudfront:DeleteOriginRequestPolicy can be scoped to in an IAM policy.

arn:${Partition}:cloudfront::${Account}:origin-request-policy/${Id}
origin-request-policy

Condition keys

No condition keys are documented for this action.

Example IAM policy

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

{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Sid": "AllowCloudfrontDeleteOriginRequestPolicy",
      "Effect": "Allow",
      "Action": "cloudfront:DeleteOriginRequestPolicy",
      "Resource": "*"
    }
  ]
}

Related actions in cloudfront

View all cloudfront actions →