Class JenkinsProvider
A class representing Jenkins providers.
Inherited Members
Namespace: Amazon.CDK.AWS.CodePipeline.Actions
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class JenkinsProvider : BaseJenkinsProvider, IJenkinsProvider
Syntax (vb)
Public Class JenkinsProvider
Inherits BaseJenkinsProvider
Implements IJenkinsProvider
Remarks
See: #import
ExampleMetadata: infused
Examples
var jenkinsProvider = new JenkinsProvider(this, "JenkinsProvider", new JenkinsProviderProps {
ProviderName = "MyJenkinsProvider",
ServerUrl = "http://my-jenkins.com:8080",
Version = "2"
});
Synopsis
Constructors
JenkinsProvider(ByRefValue) | Used by jsii to construct an instance of this class from a Javascript-owned object reference |
JenkinsProvider(DeputyBase.DeputyProps) | Used by jsii to construct an instance of this class from DeputyProps |
JenkinsProvider(Construct, String, IJenkinsProviderProps) |
Properties
ProviderName | |
ServerUrl |
Methods
FromJenkinsProviderAttributes(Construct, String, IJenkinsProviderAttributes) | Import a Jenkins provider registered either outside the CDK, or in a different CDK Stack. |
Constructors
JenkinsProvider(ByRefValue)
Used by jsii to construct an instance of this class from a Javascript-owned object reference
protected JenkinsProvider(ByRefValue reference)
Parameters
- reference Amazon.JSII.Runtime.Deputy.ByRefValue
The Javascript-owned object reference
JenkinsProvider(DeputyBase.DeputyProps)
Used by jsii to construct an instance of this class from DeputyProps
protected JenkinsProvider(DeputyBase.DeputyProps props)
Parameters
- props Amazon.JSII.Runtime.Deputy.DeputyBase.DeputyProps
The deputy props
JenkinsProvider(Construct, String, IJenkinsProviderProps)
public JenkinsProvider(Construct scope, string id, IJenkinsProviderProps props)
Parameters
- scope Constructs.Construct
- id System.String
- props IJenkinsProviderProps
Properties
ProviderName
public override string ProviderName { get; }
Property Value
System.String
Overrides
ServerUrl
public override string ServerUrl { get; }
Property Value
System.String
Overrides
Methods
FromJenkinsProviderAttributes(Construct, String, IJenkinsProviderAttributes)
Import a Jenkins provider registered either outside the CDK, or in a different CDK Stack.
public static IJenkinsProvider FromJenkinsProviderAttributes(Construct scope, string id, IJenkinsProviderAttributes attrs)
Parameters
- scope Constructs.Construct
the parent Construct for the new provider.
- id System.String
the identifier of the new provider Construct.
- attrs IJenkinsProviderAttributes
the properties used to identify the existing provider.
Returns
a new Construct representing a reference to an existing Jenkins provider