You can configure a gateway endpoint or interface endpoint on the AWS console and in the Amazon S3 V2 connection to enable private communication to connect to Amazon S3 from Cloud Data Integration.
You can configure Amazon S3 V2 Connector to establish private communication with Amazon S3 without exposing your traffic to the public internet. To establish a private connection with Amazon S3, ensure that the Secure Agent is a part of the subnet in the AWS Virtual Private Cloud (VPC). An S3 endpoint routes an S3 request to the Amazon S3 service. You can create an S3 interface endpoint or an S3 gateway endpoint.