odb:DeleteOdbPeeringConnection

Write

odb:DeleteOdbPeeringConnection is a Write access-level action in the odb service. Grants permission to delete the specified ODB Peering Connection. When you delete an ODB peering connection, the underlying VPC peering connection is also deleted

Resource types

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

arn:${Partition}:odb:${Region}:${Account}:odb-peering-connection/${OdbPeeringConnectionId}
odb-peering-connection

Condition keys

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

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:DeleteOdbPeeringConnection. Replace "Resource": "*" with a specific ARN to follow least privilege.

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

Related actions in odb

View all odb actions →