· 7 years ago · May 06, 2018, 09:30 PM
1BasicAWSCredentials credentials = new BasicAWSCredentials("accessKey", "secretKey");
2sqs = AmazonSQSClientBuilder.standard()
3 .withCredentials(new AWSStaticCredentialsProvider(credentials))
4 .withRegion(configs.getRegion())
5 .build();