redshift-data:ListDatabases

Read

redshift-data:ListDatabases is a Read access-level action in the redshift-data service. Grants permission to list databases for a given cluster

Resource types

ARNs that redshift-data:ListDatabases can be scoped to in an IAM policy.

arn:${Partition}:redshift:${Region}:${Account}:cluster:${ClusterName}
cluster
arn:${Partition}:redshift-serverless:${Region}:${Account}:workgroup/${WorkgroupId}
workgroup

Condition keys

Keys you can use in the Condition block of a policy that grants redshift-data:ListDatabases.

aws:ResourceTag/${TagKey} String

Filters access by tag-value associated with the resource

Example IAM policy

A minimal policy that allows redshift-data:ListDatabases. Replace "Resource": "*" with a specific ARN to follow least privilege.

{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Sid": "AllowRedshiftdataListDatabases",
      "Effect": "Allow",
      "Action": "redshift-data:ListDatabases",
      "Resource": "*"
    }
  ]
}

Related actions in redshift-data

View all redshift-data actions →