odb:ListDbNodes

List

odb:ListDbNodes is a List access-level action in the odb service. Grants permission to list information about the DB nodes for the specified VM cluster

Resource types

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

arn:${Partition}:odb:${Region}:${Account}:cloud-vm-cluster/${CloudVmClusterId}
cloud-vm-cluster

Condition keys

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

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

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

Related actions in odb

View all odb actions →