Last active
August 29, 2015 14:13
-
-
Save bobbyjam99-zz/2c9fc218accdf193c5ad to your computer and use it in GitHub Desktop.
Proxy等を設定してAWSにアクセス
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
String accessKey = "YOURACCESSKEY"; | |
String secretKey = "YOURSECRETKEY"; | |
AWSCredentials awsCredentials = new BasicAWSCredentials(accessKey, secretKey); | |
ClientConfiguration clientConfiguration = new ClientConfiguration(); | |
// set proxy | |
clientConfiguration.setProxyHost("proxyhost"); | |
clientConfiguration.setProxyPort(80); | |
clientConfiguration.setProxyUsername("username"); | |
clientConfiguration.setProxyPassword("password"); | |
// set retry | |
clientConfiguration.setMaxErrorRetry(3); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment