本文属于机器翻译版本。若本译文内容与英语原文存在差异,则一律以英文原文为准。
AmazonGrafanaRedshiftAccess
描述:此策略授予对 Amazon Redshift,以及在 Amazon Grafana 中使用 Amazon Redshift 插件所需的依赖项的限定访问权限。
AmazonGrafanaRedshiftAccess
是一项 AWS 托管式策略。
使用此策略
您可以将 AmazonGrafanaRedshiftAccess
附加到您的用户、组和角色。
策略详细信息
-
类型:服务角色策略
-
创建时间:2021 年 11 月 26 日 23:15 UTC
-
编辑时间:2021 年 11 月 26 日 23:15 UTC
-
ARN:
arn:aws:iam::aws:policy/service-role/AmazonGrafanaRedshiftAccess
策略版本
策略版本:v1 (默认值)
此策略的默认版本是定义策略权限的版本。当使用该策略的用户或角色请求访问 AWS 资源时, AWS 会检查策略的默认版本以确定是否允许该请求。
JSON 策略文档
{ "Version" : "2012-10-17", "Statement" : [ { "Effect" : "Allow", "Action" : [ "redshift:DescribeClusters", "redshift-data:GetStatementResult", "redshift-data:DescribeStatement", "secretsmanager:ListSecrets" ], "Resource" : "*" }, { "Effect" : "Allow", "Action" : [ "redshift-data:DescribeTable", "redshift-data:ExecuteStatement", "redshift-data:ListTables", "redshift-data:ListSchemas" ], "Resource" : "*", "Condition" : { "Null" : { "aws:ResourceTag/GrafanaDataSource" : "false" } } }, { "Effect" : "Allow", "Action" : "redshift:GetClusterCredentials", "Resource" : [ "arn:aws:redshift:*:*:dbname:*/*", "arn:aws:redshift:*:*:dbuser:*/redshift_data_api_user" ] }, { "Effect" : "Allow", "Action" : [ "secretsmanager:GetSecretValue" ], "Resource" : "*", "Condition" : { "Null" : { "secretsmanager:ResourceTag/RedshiftQueryOwner" : "false" } } } ] }