Class AWSClients
java.lang.Object
com.amazonaws.codepipeline.jenkinsplugin.AWSClients
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
static class
-
Constructor Summary
ConstructorDescriptionAWSClients
(String region, com.amazonaws.auth.AWSCredentials credentials, String proxyHost, int proxyPort, String pluginUserAgentPrefix, AWSClients.CodePipelineClientFactory codePipelineClientFactory, AWSClients.S3ClientFactory s3ClientFactory) -
Method Summary
Modifier and TypeMethodDescriptionstatic AWSClients
fromBasicCredentials
(String region, String awsAccessKey, String awsSecretKey, String proxyHost, int proxyPort, String pluginUserAgentPrefix) static AWSClients
fromDefaultCredentialChain
(String region, String proxyHost, int proxyPort, String pluginUserAgentPrefix) com.amazonaws.services.codepipeline.AWSCodePipeline
com.amazonaws.services.s3.AmazonS3
getS3Client
(com.amazonaws.auth.AWSCredentialsProvider credentialsProvider)
-
Constructor Details
-
AWSClients
public AWSClients(String region, com.amazonaws.auth.AWSCredentials credentials, String proxyHost, int proxyPort, String pluginUserAgentPrefix, AWSClients.CodePipelineClientFactory codePipelineClientFactory, AWSClients.S3ClientFactory s3ClientFactory)
-
-
Method Details
-
fromDefaultCredentialChain
public static AWSClients fromDefaultCredentialChain(String region, String proxyHost, int proxyPort, String pluginUserAgentPrefix) -
fromBasicCredentials
-
getS3Client
public com.amazonaws.services.s3.AmazonS3 getS3Client(com.amazonaws.auth.AWSCredentialsProvider credentialsProvider) -
getCodePipelineClient
public com.amazonaws.services.codepipeline.AWSCodePipeline getCodePipelineClient()
-