schemas:PutResourcePolicy

Write

schemas:PutResourcePolicy is a Write access-level action in the schemas service. Grants permission to attach a resource-based policy to a given registry

Resource types

ARNs that schemas:PutResourcePolicy can be scoped to in an IAM policy.

arn:${Partition}:schemas:${Region}:${Account}:registry/${RegistryName}
registry

Condition keys

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

aws:ResourceTag/${TagKey} String

Filters access by tag-value associated with the resource

Example IAM policy

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

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

Related actions in schemas

View all schemas actions →