Interface AmazonClientsFactory

  • All Known Implementing Classes:
    AmazonClientsFactoryImpl

    public interface AmazonClientsFactory
    Factory to create different types of AWS clients. Bamboo beans / plugins should use this to avoid calling static methods from atlassian-aws' AmazonClients
    Since:
    5.9
    • Method Detail

      • newAmazonS3Client

        @Deprecated
        com.atlassian.aws.s3.BambooAmazonS3Client newAmazonS3Client​(@NotNull
                                                                    @NotNull com.amazonaws.auth.AWSCredentials awsCredentials)
        Deprecated.
        Create S3 client. Caller is responsible for calling AmazonWebServiceClient.shutdown() on returned instance.
        Parameters:
        awsCredentials - AWS credentials
        Returns:
        new instance of S3 client
      • newS3Client

        com.amazonaws.services.s3.AmazonS3ClientBuilder newS3Client​(@NotNull
                                                                    @NotNull com.amazonaws.auth.AWSCredentials awsCredentials)
        Create S3 client. The client is IPv6-enabled by default. Caller is responsible for calling AmazonWebServiceClient.shutdown() on returned instance.
        Parameters:
        awsCredentials - AWS credentials
        Returns:
        new instance of S3 client