Example usage for com.amazonaws.auth PropertiesFileCredentialsProvider getCredentials

List of usage examples for com.amazonaws.auth PropertiesFileCredentialsProvider getCredentials

Introduction

In this page you can find the example usage for com.amazonaws.auth PropertiesFileCredentialsProvider getCredentials.

Prototype

public AWSCredentials getCredentials() 

Source Link

Usage

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);
}