Class S3Utils

java.lang.Object
org.craftercms.commons.file.stores.S3Utils

public class S3Utils extends Object
Utility methods for S3.
Author:
avasquez
  • Constructor Details

    • S3Utils

      public S3Utils()
  • Method Details

    • createClient

      public static final com.amazonaws.services.s3.AmazonS3 createClient(AbstractAwsProfile profile, boolean useCustomEndpoint)
      Creates an AmazonS3 based on the given profile config.
      Parameters:
      profile - the configuration profile
      Returns:
      a client to an Amazon S3 account
    • createClient

      public static final com.amazonaws.services.s3.AmazonS3 createClient(AbstractAwsProfile profile)