codebuild:UpdateWebhook

Write

codebuild:UpdateWebhook is a Write access-level action in the codebuild service. Grants permission to update the webhook associated with an AWS CodeBuild build project

Resource types

ARNs that codebuild:UpdateWebhook can be scoped to in an IAM policy.

arn:${Partition}:codebuild:${Region}:${Account}:project/${ProjectName} required
project

Condition keys

Keys you can use in the Condition block of a policy that grants codebuild:UpdateWebhook.

codebuild:buildType String

Filters access by the API corresponding argument value

codebuild:manualCreation Bool

Filters access by the API corresponding argument value

codebuild:scopeConfiguration.domain String

Filters access by the API corresponding argument value

codebuild:scopeConfiguration.name String

Filters access by the API corresponding argument value

codebuild:scopeConfiguration.scope String

Filters access by the API corresponding argument value

aws:ResourceTag/${TagKey} String

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

Example IAM policy

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

{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Sid": "AllowCodebuildUpdateWebhook",
      "Effect": "Allow",
      "Action": "codebuild:UpdateWebhook",
      "Resource": "*"
    }
  ]
}

Related actions in codebuild

View all codebuild actions →