codepipeline:DeleteWebhook

Write

codepipeline:DeleteWebhook is a Write access-level action in the codepipeline service. Grants permission to delete a specified webhook

Resource types

ARNs that codepipeline:DeleteWebhook can be scoped to in an IAM policy.

arn:${Partition}:codepipeline:${Region}:${Account}:webhook:${WebhookName}
webhook

Condition keys

Keys you can use in the Condition block of a policy that grants codepipeline:DeleteWebhook.

aws:ResourceTag/${TagKey} String

Filters actions based on tag key-value pairs attached to the resource

Example IAM policy

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

{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Sid": "AllowCodepipelineDeleteWebhook",
      "Effect": "Allow",
      "Action": "codepipeline:DeleteWebhook",
      "Resource": "*"
    }
  ]
}

Related actions in codepipeline

View all codepipeline actions →