agent-registry:PutResourcePolicy

Write

agent-registry:PutResourcePolicy is a Write access-level action in the agent-registry service. Grants permission to set a resource-based policy for a specified resource

Resource types

ARNs that agent-registry:PutResourcePolicy can be scoped to in an IAM policy.

arn:${Partition}:agent-registry:${Region}:${Account}:registry/${RegistryId}
registry

Condition keys

Keys you can use in the Condition block of a policy that grants agent-registry:PutResourcePolicy.

aws:ResourceTag/${TagKey} String

Filters access by having actions based on the tag value associated with the resource

Example IAM policy

A minimal policy that allows agent-registry:PutResourcePolicy. Replace "Resource": "*" with a specific ARN to follow least privilege.

{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Sid": "AllowAgentregistryPutResourcePolicy",
      "Effect": "Allow",
      "Action": "agent-registry:PutResourcePolicy",
      "Resource": "*"
    }
  ]
}

Related actions in agent-registry

View all agent-registry actions →