AmazonRedshiftQueryEditor

Last Modified

Mar 12, 2026

March 12, 2026 at 09:28 PM UTC

Version

v4

Total Versions

9

Created

Feb 16, 2021

Actions

28

Policy Document

View on GitHub
{
  "PolicyVersion": {
    "Document": {
      "Version": "2012-10-17",
      "Statement": [
        {
          "Effect": "Allow",
          "Action": [
            "redshift:GetClusterCredentials",
            "redshift:ListSchemas",
            "redshift:ListTables",
            "redshift:ListDatabases",
            "redshift:ExecuteQuery",
            "redshift:FetchResults",
            "redshift:CancelQuery",
            "redshift:DescribeClusters",
            "redshift:DescribeQuery",
            "redshift:DescribeTable",
            "redshift:ViewQueriesFromConsole",
            "redshift:DescribeSavedQueries",
            "redshift:CreateSavedQuery",
            "redshift:DeleteSavedQueries",
            "redshift:ModifySavedQuery"
          ],
          "Resource": "*"
        },
        {
          "Sid": "DataAPIPermissions",
          "Action": [
            "redshift-data:ExecuteStatement",
            "redshift-data:ListDatabases",
            "redshift-data:ListSchemas",
            "redshift-data:ListTables",
            "redshift-data:DescribeTable"
          ],
          "Effect": "Allow",
          "Resource": "*"
        },
        {
          "Sid": "DataAPIIAMSessionPermissionsRestriction",
          "Action": [
            "redshift-data:GetStatementResult",
            "redshift-data:CancelStatement",
            "redshift-data:DescribeStatement",
            "redshift-data:ListStatements"
          ],
          "Effect": "Allow",
          "Resource": "*",
          "Condition": {
            "StringEquals": {
              "redshift-data:statement-owner-iam-userid": "${aws:userid}"
            }
          }
        },
        {
          "Sid": "SecretsManagerListPermissions",
          "Action": [
            "secretsmanager:ListSecrets"
          ],
          "Effect": "Allow",
          "Resource": "*"
        },
        {
          "Sid": "SecretsManagerCreateGetPermissions",
          "Action": [
            "secretsmanager:CreateSecret",
            "secretsmanager:GetSecretValue",
            "secretsmanager:TagResource"
          ],
          "Effect": "Allow",
          "Resource": "arn:aws:secretsmanager:*:*:secret:*",
          "Condition": {
            "StringEquals": {
              "secretsmanager:ResourceTag/RedshiftQueryOwner": "${aws:userid}"
            }
          }
        }
      ]
    },
    "VersionId": "v4",
    "IsDefaultVersion": true,
    "CreateDate": "2021-02-16T19:33:45+00:00"
  }
}

Version History (12 recorded)

Raw history

AmazonRedshiftQueryEditor - Policy Version v4

No recorded action delta - this version predates the change index. View the raw diff.

Mar 12, 2026

6d2d8ca

Update detected

No recorded action delta - this version predates the change index. View the raw diff.

Sep 18, 2024

aafbae9

Update detected

No recorded action delta - this version predates the change index. View the raw diff.

May 13, 2024

1b36617

Update detected

No recorded action delta - this version predates the change index. View the raw diff.

Feb 16, 2021

45863c5

Update detected

No recorded action delta - this version predates the change index. View the raw diff.

Sep 11, 2020

805bffe

Update detected

No recorded action delta - this version predates the change index. View the raw diff.

Sep 9, 2020

3673f32

Update detected

No recorded action delta - this version predates the change index. View the raw diff.

Sep 16, 2019

49aa1d0

Update detected

No recorded action delta - this version predates the change index. View the raw diff.

Sep 16, 2019

71619cf

Update detected

No recorded action delta - this version predates the change index. View the raw diff.

Sep 16, 2019

8279033

`2019-08-29`

No recorded action delta - this version predates the change index. View the raw diff.

Aug 29, 2019

5016d52

I updated my CLI and it looks like it reordered everything and changed the white-space, so everything looks changed, but is not

No recorded action delta - this version predates the change index. View the raw diff.

Jul 12, 2019

9d2dff1

First commit

No recorded action delta - this version predates the change index. View the raw diff.

Feb 10, 2019

ad4c2e8