jackye1995 commented on a change in pull request #4334:
URL: https://github.com/apache/iceberg/pull/4334#discussion_r830151450
##########
File path: aws/src/main/java/org/apache/iceberg/aws/AwsProperties.java
##########
@@ -170,6 +171,17 @@
*/
public static final String S3FILEIO_SESSION_TOKEN = "s3.session-token";
+ /**
+ * Enable to make S3FileIO, to make cross-region call to the region
specified in the ARN.
+ * <p>
+ * When set, the client can make a cross-region call to the region specified
in the ARN,
+ * otherwise an exception will be thrown if cross-region call is tried.
+ *
+ * For more details see :
https://github.com/aws/aws-sdk-java-v2/blob/master/services/s3/src/main/java/software/amazon/awssdk/services/s3/S3Configuration.java#L186
Review comment:
line number might change, linking to the github code is probably a bad
idea, sorry for the bad suggestion. We can link to this:
https://sdk.amazonaws.com/java/api/latest/software/amazon/awssdk/services/s3/S3Configuration.html#useArnRegionEnabled--
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]