AWS kebijakan terkelola: AmazonDataZoneRedshiftManageAccessRolePolicy - Amazon DataZone

Terjemahan disediakan oleh mesin penerjemah. Jika konten terjemahan yang diberikan bertentangan dengan versi bahasa Inggris aslinya, utamakan versi bahasa Inggris.

AWS kebijakan terkelola: AmazonDataZoneRedshiftManageAccessRolePolicy

Kebijakan ini memberikan DataZone izin Amazon untuk mempublikasikan data Amazon Redshift ke katalog. Ini juga memberikan DataZone izin Amazon untuk memberikan akses atau mencabut akses ke Amazon Redshift atau Amazon Redshift Serverless aset yang diterbitkan dalam katalog.

{ "Version": "2012-10-17", "Statement": [ { "Sid": "redshiftDataScopeDownPermissions", "Effect": "Allow", "Action": [ "redshift-data:BatchExecuteStatement", "redshift-data:DescribeTable", "redshift-data:ExecuteStatement", "redshift-data:ListTables", "redshift-data:ListSchemas", "redshift-data:ListDatabases" ], "Resource": [ "arn:aws:redshift-serverless:*:*:workgroup/*", "arn:aws:redshift:*:*:cluster:*" ], "Condition": { "StringEquals": { "aws:ResourceAccount": "${aws:PrincipalAccount}" } } }, { "Sid": "listSecretsPermission", "Effect": "Allow", "Action": "secretsmanager:ListSecrets", "Resource": "*" }, { "Sid": "getWorkgroupPermission", "Effect": "Allow", "Action": "redshift-serverless:GetWorkgroup", "Resource": [ "arn:aws:redshift-serverless:*:*:workgroup/*" ], "Condition": { "StringEquals": { "aws:ResourceAccount": "${aws:PrincipalAccount}" } } }, { "Sid": "getNamespacePermission", "Effect": "Allow", "Action": "redshift-serverless:GetNamespace", "Resource": [ "arn:aws:redshift-serverless:*:*:namespace/*" ], "Condition": { "StringEquals": { "aws:ResourceAccount": "${aws:PrincipalAccount}" } } }, { "Sid": "redshiftDataPermissions", "Effect": "Allow", "Action": [ "redshift-data:DescribeStatement", "redshift-data:GetStatementResult", "redshift:DescribeClusters" ], "Resource": "*" }, { "Sid": "dataSharesPermissions", "Effect": "Allow", "Action": [ "redshift:AuthorizeDataShare", "redshift:DescribeDataShares" ], "Resource": [ "arn:aws:redshift:*:*:datashare:*/datazone*" ], "Condition": { "StringEquals": { "aws:ResourceAccount": "${aws:PrincipalAccount}" } } }, { "Sid": "associateDataShareConsumerPermission", "Effect": "Allow", "Action": "redshift:AssociateDataShareConsumer", "Resource": "arn:aws:redshift:*:*:datashare:*/datazone*" } ] }