codeartifact:CreatePackageGroup is a Write access-level action in the codeartifact service. Grants permission to create a package group
This action does not support resource-level permissions; use "Resource": "*" in your policy.
Keys you can use in the Condition block of a policy that grants codeartifact:CreatePackageGroup.
Filters access by the presence of tag key-value pairs in the request
Filters access by the presence of tag keys in the request
A minimal policy that allows codeartifact:CreatePackageGroup. Replace "Resource": "*" with a specific ARN to follow least privilege.
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "AllowCodeartifactCreatePackageGroup",
"Effect": "Allow",
"Action": "codeartifact:CreatePackageGroup",
"Resource": "*"
}
]
}