Class AmazonWebServicesCredentialsBinding

    • Field Detail

    • Constructor Detail

      • AmazonWebServicesCredentialsBinding

        @DataBoundConstructor
        public AmazonWebServicesCredentialsBinding​(@Nullable
                                                   String accessKeyVariable,
                                                   @Nullable
                                                   String secretKeyVariable,
                                                   String credentialsId)
        Parameters:
        accessKeyVariable - if null, "AWS_ACCESS_KEY_ID" will be used.
        secretKeyVariable - if null, "AWS_SECRET_ACCESS_KEY" will be used.
        credentialsId - identifier which should be referenced when accessing the credentials from a job/pipeline.
    • Method Detail

      • getAccessKeyVariable

        @NonNull
        public String getAccessKeyVariable()
      • getSecretKeyVariable

        @NonNull
        public String getSecretKeyVariable()
      • getRoleArn

        @Nullable
        public String getRoleArn()
      • getRoleSessionName

        @Nullable
        public String getRoleSessionName()
      • getRoleSessionDurationSeconds

        public int getRoleSessionDurationSeconds()
      • setRoleArn

        @DataBoundSetter
        public void setRoleArn​(String roleArn)
      • setRoleSessionName

        @DataBoundSetter
        public void setRoleSessionName​(String roleSessionName)
      • setRoleSessionDurationSeconds

        @DataBoundSetter
        public void setRoleSessionDurationSeconds​(int roleSessionDurationSeconds)