codeartifact:DeletePackageGroup is a Write access-level action in the codeartifact service. Grants permission to delete a package group
ARNs that codeartifact:DeletePackageGroup can be scoped to in an IAM policy.
Keys you can use in the Condition block of a policy that grants codeartifact:DeletePackageGroup.
Filters access by tag key-value pairs attached to the resource
A minimal policy that allows codeartifact:DeletePackageGroup. Replace "Resource": "*" with a specific ARN to follow least privilege.
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "AllowCodeartifactDeletePackageGroup",
"Effect": "Allow",
"Action": "codeartifact:DeletePackageGroup",
"Resource": "*"
}
]
}