You can gain access to Amazon S3 resources by using an assume role in Amazon S3 and Amazon Redshift connectors.
You can use Amazon S3 and Amazon Redshift connectors to access the Amazon resources by using temporary security credentials generated for an IAM user using an assume role.