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