When you use a connection in a mapping to read data from an Amazon Redshift Spectrum external table, provide the required authorization to the Amazon Redshift cluster to access the data catalog and the data files in Amazon S3.
The Amazon Redshift cluster and the Amazon S3 bucket that contains the data files must belong to the same region. The Amazon Redshift cluster must be of version 1.0.1294 or later.
Create an AWS Identity and Access Management (IAM) role to authorize the Amazon Redshift cluster access to the external data catalog and data files in Amazon S3.
Associate the IAM role with the specified Amazon Redshift cluster.
Create an external schema.
Provide Amazon Redshift role ARN for the IAM role in the external schema.
Create an external table within the external schema and specify the Amazon S3 location from where you want to read the data. For more information about creating external tables, see the AWS documentation.
To access the data catalog and the data files in Amazon S3 by using Amazon Redshift Spectrum, ensure that the Amazon Redshift cluster has the required authorization.