List of usage examples for com.amazonaws.auth PropertiesFileCredentialsProvider getCredentials
public AWSCredentials getCredentials()
From source file:com.datatorrent.lib.io.jms.SQSTestBase.java
License:Apache License
public SQSTestBase() { PropertiesFileCredentialsProvider file = new PropertiesFileCredentialsProvider(getTestCredsFilePath()); testCreds = (PropertiesCredentials) file.getCredentials(); sqs = new AmazonSQSClient(testCreds); }