AmazonRedshiftQueryEditor - AWS Managed Policy

AmazonRedshiftQueryEditor

Description: Provides full access to the Amazon Redshift Query Editor and to saved queries via the AWS Management Console.

AmazonRedshiftQueryEditor is an AWS managed policy.

Using this policy

You can attach AmazonRedshiftQueryEditor to your users, groups, and roles.

Policy details

  • Type: AWS managed policy

  • Creation time: October 04, 2018, 22:50 UTC

  • Edited time: February 16, 2021, 19:33 UTC

  • ARN: arn:aws:iam::aws:policy/AmazonRedshiftQueryEditor

Policy version

Policy version: v4 (default)

The policy's default version is the version that defines the permissions for the policy. When a user or role with the policy makes a request to access an AWS resource, AWS checks the default version of the policy to determine whether to allow the request.

JSON policy 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}" } } } ] }

Learn more