Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
ClientConfiguration configuration = new ClientConfiguration();
configuration.setConnectionTimeout(30000);
configuration.setProtocol(Protocol.HTTPS); // com.amazonaws.Protocol.HTTPS
configuration.setProxyHost("proxy.confrage.co.jp");
configuration.setProxyPort("8080");
AmazonS3 s3client =
AmazonS3ClientBuilder.standard()
.withCredentials(new AWSStaticCredentialsProvider("profile"))
.withClientConfiguration(configuration)
.build();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment