2回答
- 新しい順
- 投票が多い順
- コメントが多い順
0
See https://docs.aws.amazon.com/redshift/latest/mgmt/data-api.html : "To run a query on a cluster that is owned by another account, the owning account must provide an IAM role that the Data API can assume in the calling account."
0
You can/should specify and API KEY & ID when you're constructing your client which refers to an identity in the target account.
redshift_client = boto3.client('redshift-data',
aws_access_key_id='abc',
aws_secret_access_key='123'
)
関連するコンテンツ
- AWS公式更新しました 6ヶ月前
- AWS公式更新しました 3年前