odb:GetOdbPeeringConnection

Read

odb:GetOdbPeeringConnection is a Read access-level action in the odb service. Grants permission to get information about the specified ODB Peering connection

Resource types

ARNs that odb:GetOdbPeeringConnection 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:GetOdbPeeringConnection.

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

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

Related actions in odb

View all odb actions →