codeartifact:UpdatePackageVersionsStatus

Write

codeartifact:UpdatePackageVersionsStatus is a Write access-level action in the codeartifact service. Grants permission to modify the status of one or more versions of a package

Resource types

ARNs that codeartifact:UpdatePackageVersionsStatus can be scoped to in an IAM policy.

arn:${Partition}:codeartifact:${Region}:${Account}:package/${DomainName}/${RepositoryName}/${PackageFormat}/${PackageNamespace}/${PackageName}
package

Condition keys

No condition keys are documented for this action.

Example IAM policy

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

{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Sid": "AllowCodeartifactUpdatePackageVersionsStatus",
      "Effect": "Allow",
      "Action": "codeartifact:UpdatePackageVersionsStatus",
      "Resource": "*"
    }
  ]
}

Related actions in codeartifact

View all codeartifact actions →