Example usage for com.amazonaws.services.s3 AmazonS3Client AmazonS3Client

List of usage examples for com.amazonaws.services.s3 AmazonS3Client AmazonS3Client

Introduction

In this page you can find the example usage for com.amazonaws.services.s3 AmazonS3Client AmazonS3Client.

Prototype

@Deprecated
public AmazonS3Client(AWSCredentialsProvider credentialsProvider, ClientConfiguration clientConfiguration) 

Source Link

Document

Constructs a new Amazon S3 client using the specified AWS credentials and client configuration to access Amazon S3.

Usage

From source file:org.cloudfoundry.community.servicebroker.s3.config.BrokerConfiguration.java

License:Apache License

@Bean
public AmazonS3 amazonS3() {
    return new AmazonS3Client(awsCredentials(), awsClientConfiguration.toClientConfiguration());
}