Interface JenkinsProviderAttributes

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
JenkinsProviderAttributes.Jsii$Proxy

@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)", date="2023-06-19T16:30:48.453Z") @Stability(Stable) public interface JenkinsProviderAttributes extends software.amazon.jsii.JsiiSerializable
Properties for importing an existing Jenkins provider.

Example:

 IJenkinsProvider jenkinsProvider = JenkinsProvider.fromJenkinsProviderAttributes(this, "JenkinsProvider", JenkinsProviderAttributes.builder()
         .providerName("MyJenkinsProvider")
         .serverUrl("http://my-jenkins.com:8080")
         .version("2")
         .build());
 
  • Method Details

    • getProviderName

      @Stability(Stable) @NotNull String getProviderName()
      The name of the Jenkins provider that you set in the AWS CodePipeline plugin configuration of your Jenkins project.

      Example:

       "MyJenkinsProvider";
       
    • getServerUrl

      @Stability(Stable) @NotNull String getServerUrl()
      The base URL of your Jenkins server.

      Example:

       "http://myjenkins.com:8080";
       
    • getVersion

      @Stability(Stable) @Nullable default String getVersion()
      The version of your provider.

      Default: '1'

    • builder

      @Stability(Stable) static JenkinsProviderAttributes.Builder builder()
      Returns:
      a JenkinsProviderAttributes.Builder of JenkinsProviderAttributes