agent-registry:GetResourcePolicy is a Read access-level action in the agent-registry service. Grants permission to retrieve the resource-based policy for a specified resource
ARNs that agent-registry:GetResourcePolicy can be scoped to in an IAM policy.
Keys you can use in the Condition block of a policy that grants agent-registry:GetResourcePolicy.
Filters access by having actions based on the tag value associated with the resource
A minimal policy that allows agent-registry:GetResourcePolicy. Replace "Resource": "*" with a specific ARN to follow least privilege.
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "AllowAgentregistryGetResourcePolicy",
"Effect": "Allow",
"Action": "agent-registry:GetResourcePolicy",
"Resource": "*"
}
]
}