Redshift でクラスターの一時停止・再開(特定のクラスターのみ)、パラメータグループ設定変更(特定の)を許可する IAM ポリシー
前提
IAMロール・ポリシー設定
- IAMロール名: redshift-cluster-reboot-modpg-role … 名前は任意
- アタッチする IAM ポリシー
- ReadOnlyAccess(AWS管理)
- redshift-cluster-reboot-modpg-policy(カスタマー管理) … 名前は任意
{ "Version": "2012-10-17", "Statement": [ { "Sid": "RebootCluster", "Effect": "Allow", "Action": [ "redshift:RebootCluster", "redshift:PauseCluster", "redshift:ResumeCluster" ], "Resource": [ "arn:aws:redshift:ap-northeast-1:123456789012:cluster:redshift-cluster-poc" ] }, { "Sid": "ModifyClusterParameterGroup", "Effect": "Allow", "Action": [ "redshift:ModifyClusterParameterGroup" ], "Resource": [ "arn:aws:redshift:ap-northeast-1:123456789012:parametergroup:redshift-pg-poc" ] } ] }
2025/4/17 追記:
- AWS 管理ポリシー ReadOnlyAccess を付与しない場合は以下の IAM 権限を付与する。
{ "Sid": "DescribeClusterParameterGroups", "Effect": "Allow", "Action": [ "redshift:DescribeClusterParameterGroups", "redshift:DescribeClusterParameters", "redshift:DescribeDefaultClusterParameters" ], "Resource": "*" }