简体   繁体   中英

What is difference between aws redshift-data permissions and redshift permissions

Basically, I am trying to add permissions for AWS redshift. But AWS provides permissions under two headings, that is, redshift and redshift-data.

For example, if I want to have permissions of ListDatabases, then aws provides two permissions, one is redshift:ListDatabases and another is redshift-data:ListDatabases, not sure which one I should use.

Somewhere I read that redshift gives access for "Amazon Redshift console" and "redshift-data" gives access for "Cluster". Not sure what does that mean.

To explain the differene, lets consider the SDK clients. Notice two clients:

  • RedshiftClient
  • RedshiftDataClient

The RedshiftClient lets you manage Amazon Redshift clusters such as creating clusters, deleting clusters and so on.

The RedshiftDataClient lets you perform CRUD operations on the database. For example, insert operations using the executeStatement method.

That is the main difference. One lets you manage clusters and the other lets you perform CRUD operations.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2025 STACKOOM.COM