odb:PutResourcePolicy

Write

odb:PutResourcePolicy is a Write access-level action in the odb service. Grants permission to update a resource policy

Resource types

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

arn:${Partition}:odb:${Region}:${Account}:cloud-exadata-infrastructure/${CloudExadataInfrastructureId}
cloud-exadata-infrastructure
arn:${Partition}:odb:${Region}:${Account}:odb-network/${OdbNetworkId}
odb-network

Condition keys

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

aws:ResourceTag/${TagKey} String

Filters access by a tag key and value pair of a resource

Example IAM policy

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

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

Related actions in odb

View all odb actions →