Documentation
¶
Index ¶
- func IntegrationJenkins_GenerateConfigForImport(scope constructs.Construct, importToId *string, importFromId *string, ...) cdktf.ImportableResource
- func IntegrationJenkins_IsConstruct(x interface{}) *bool
- func IntegrationJenkins_IsTerraformElement(x interface{}) *bool
- func IntegrationJenkins_IsTerraformResource(x interface{}) *bool
- func IntegrationJenkins_TfResourceType() *string
- func NewIntegrationJenkins_Override(i IntegrationJenkins, scope constructs.Construct, id *string, ...)
- type IntegrationJenkins
- type IntegrationJenkinsConfig
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IntegrationJenkins_GenerateConfigForImport ¶
func IntegrationJenkins_GenerateConfigForImport(scope constructs.Construct, importToId *string, importFromId *string, provider cdktf.TerraformProvider) cdktf.ImportableResource
Generates CDKTF code for importing a IntegrationJenkins resource upon running "cdktf plan <stack-name>".
func IntegrationJenkins_IsConstruct ¶
func IntegrationJenkins_IsConstruct(x interface{}) *bool
Checks if `x` is a construct.
Use this method instead of `instanceof` to properly detect `Construct` instances, even when the construct library is symlinked.
Explanation: in JavaScript, multiple copies of the `constructs` library on disk are seen as independent, completely different libraries. As a consequence, the class `Construct` in each copy of the `constructs` library is seen as a different class, and an instance of one class will not test as `instanceof` the other class. `npm install` will not create installations like this, but users may manually symlink construct libraries together or use a monorepo tool: in those cases, multiple copies of the `constructs` library can be accidentally installed, and `instanceof` will behave unpredictably. It is safest to avoid using `instanceof`, and using this type-testing method instead.
Returns: true if `x` is an object created from a class which extends `Construct`.
func IntegrationJenkins_IsTerraformElement ¶
func IntegrationJenkins_IsTerraformElement(x interface{}) *bool
Experimental.
func IntegrationJenkins_IsTerraformResource ¶
func IntegrationJenkins_IsTerraformResource(x interface{}) *bool
Experimental.
func IntegrationJenkins_TfResourceType ¶
func IntegrationJenkins_TfResourceType() *string
func NewIntegrationJenkins_Override ¶
func NewIntegrationJenkins_Override(i IntegrationJenkins, scope constructs.Construct, id *string, config *IntegrationJenkinsConfig)
Create a new {@link https://registry.terraform.io/providers/gitlabhq/gitlab/17.2.0/docs/resources/integration_jenkins gitlab_integration_jenkins} Resource.
Types ¶
type IntegrationJenkins ¶
type IntegrationJenkins interface {
cdktf.TerraformResource
Active() cdktf.IResolvable
// Experimental.
CdktfStack() cdktf.TerraformStack
// Experimental.
Connection() interface{}
// Experimental.
SetConnection(val interface{})
// Experimental.
ConstructNodeMetadata() *map[string]interface{}
// Experimental.
Count() interface{}
// Experimental.
SetCount(val interface{})
// Experimental.
DependsOn() *[]*string
// Experimental.
SetDependsOn(val *[]*string)
EnableSslVerification() interface{}
SetEnableSslVerification(val interface{})
EnableSslVerificationInput() interface{}
// Experimental.
ForEach() cdktf.ITerraformIterator
// Experimental.
SetForEach(val cdktf.ITerraformIterator)
// Experimental.
Fqn() *string
// Experimental.
FriendlyUniqueId() *string
Id() *string
JenkinsUrl() *string
SetJenkinsUrl(val *string)
JenkinsUrlInput() *string
// Experimental.
Lifecycle() *cdktf.TerraformResourceLifecycle
// Experimental.
SetLifecycle(val *cdktf.TerraformResourceLifecycle)
MergeRequestEvents() interface{}
SetMergeRequestEvents(val interface{})
MergeRequestEventsInput() interface{}
// The tree node.
Node() constructs.Node
Password() *string
SetPassword(val *string)
PasswordInput() *string
Project() *string
SetProject(val *string)
ProjectInput() *string
ProjectName() *string
SetProjectName(val *string)
ProjectNameInput() *string
// Experimental.
Provider() cdktf.TerraformProvider
// Experimental.
SetProvider(val cdktf.TerraformProvider)
// Experimental.
Provisioners() *[]interface{}
// Experimental.
SetProvisioners(val *[]interface{})
PushEvents() interface{}
SetPushEvents(val interface{})
PushEventsInput() interface{}
// Experimental.
RawOverrides() interface{}
TagPushEvents() interface{}
SetTagPushEvents(val interface{})
TagPushEventsInput() interface{}
// Experimental.
TerraformGeneratorMetadata() *cdktf.TerraformProviderGeneratorMetadata
// Experimental.
TerraformMetaArguments() *map[string]interface{}
// Experimental.
TerraformResourceType() *string
Username() *string
SetUsername(val *string)
UsernameInput() *string
// Adds a user defined moveTarget string to this resource to be later used in .moveTo(moveTarget) to resolve the location of the move.
// Experimental.
AddMoveTarget(moveTarget *string)
// Experimental.
AddOverride(path *string, value interface{})
// Experimental.
GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{}
// Experimental.
GetBooleanAttribute(terraformAttribute *string) cdktf.IResolvable
// Experimental.
GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool
// Experimental.
GetListAttribute(terraformAttribute *string) *[]*string
// Experimental.
GetNumberAttribute(terraformAttribute *string) *float64
// Experimental.
GetNumberListAttribute(terraformAttribute *string) *[]*float64
// Experimental.
GetNumberMapAttribute(terraformAttribute *string) *map[string]*float64
// Experimental.
GetStringAttribute(terraformAttribute *string) *string
// Experimental.
GetStringMapAttribute(terraformAttribute *string) *map[string]*string
// Experimental.
HasResourceMove() interface{}
// Experimental.
ImportFrom(id *string, provider cdktf.TerraformProvider)
// Experimental.
InterpolationForAttribute(terraformAttribute *string) cdktf.IResolvable
// Move the resource corresponding to "id" to this resource.
//
// Note that the resource being moved from must be marked as moved using it's instance function.
// Experimental.
MoveFromId(id *string)
// Moves this resource to the target resource given by moveTarget.
// Experimental.
MoveTo(moveTarget *string, index interface{})
// Moves this resource to the resource corresponding to "id".
// Experimental.
MoveToId(id *string)
// Overrides the auto-generated logical ID with a specific ID.
// Experimental.
OverrideLogicalId(newLogicalId *string)
ResetEnableSslVerification()
ResetMergeRequestEvents()
// Resets a previously passed logical Id to use the auto-generated logical id again.
// Experimental.
ResetOverrideLogicalId()
ResetPassword()
ResetPushEvents()
ResetTagPushEvents()
ResetUsername()
SynthesizeAttributes() *map[string]interface{}
SynthesizeHclAttributes() *map[string]interface{}
// Experimental.
ToHclTerraform() interface{}
// Experimental.
ToMetadata() interface{}
// Returns a string representation of this construct.
ToString() *string
// Adds this resource to the terraform JSON output.
// Experimental.
ToTerraform() interface{}
}
Represents a {@link https://registry.terraform.io/providers/gitlabhq/gitlab/17.2.0/docs/resources/integration_jenkins gitlab_integration_jenkins}.
func NewIntegrationJenkins ¶
func NewIntegrationJenkins(scope constructs.Construct, id *string, config *IntegrationJenkinsConfig) IntegrationJenkins
Create a new {@link https://registry.terraform.io/providers/gitlabhq/gitlab/17.2.0/docs/resources/integration_jenkins gitlab_integration_jenkins} Resource.
type IntegrationJenkinsConfig ¶
type IntegrationJenkinsConfig struct {
// Experimental.
Connection interface{} `field:"optional" json:"connection" yaml:"connection"`
// Experimental.
Count interface{} `field:"optional" json:"count" yaml:"count"`
// Experimental.
DependsOn *[]cdktf.ITerraformDependable `field:"optional" json:"dependsOn" yaml:"dependsOn"`
// Experimental.
ForEach cdktf.ITerraformIterator `field:"optional" json:"forEach" yaml:"forEach"`
// Experimental.
Lifecycle *cdktf.TerraformResourceLifecycle `field:"optional" json:"lifecycle" yaml:"lifecycle"`
// Experimental.
Provider cdktf.TerraformProvider `field:"optional" json:"provider" yaml:"provider"`
// Experimental.
Provisioners *[]interface{} `field:"optional" json:"provisioners" yaml:"provisioners"`
// Jenkins URL like `http://jenkins.example.com`.
//
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/gitlabhq/gitlab/17.2.0/docs/resources/integration_jenkins#jenkins_url IntegrationJenkins#jenkins_url}
JenkinsUrl *string `field:"required" json:"jenkinsUrl" yaml:"jenkinsUrl"`
// ID of the project you want to activate integration on.
//
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/gitlabhq/gitlab/17.2.0/docs/resources/integration_jenkins#project IntegrationJenkins#project}
Project *string `field:"required" json:"project" yaml:"project"`
// The URL-friendly project name. Example: `my_project_name`.
//
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/gitlabhq/gitlab/17.2.0/docs/resources/integration_jenkins#project_name IntegrationJenkins#project_name}
ProjectName *string `field:"required" json:"projectName" yaml:"projectName"`
// Enable SSL verification. Defaults to `true` (enabled).
//
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/gitlabhq/gitlab/17.2.0/docs/resources/integration_jenkins#enable_ssl_verification IntegrationJenkins#enable_ssl_verification}
EnableSslVerification interface{} `field:"optional" json:"enableSslVerification" yaml:"enableSslVerification"`
// Enable notifications for merge request events.
//
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/gitlabhq/gitlab/17.2.0/docs/resources/integration_jenkins#merge_request_events IntegrationJenkins#merge_request_events}
MergeRequestEvents interface{} `field:"optional" json:"mergeRequestEvents" yaml:"mergeRequestEvents"`
// Password for authentication with the Jenkins server, if authentication is required by the server.
//
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/gitlabhq/gitlab/17.2.0/docs/resources/integration_jenkins#password IntegrationJenkins#password}
Password *string `field:"optional" json:"password" yaml:"password"`
// Enable notifications for push events.
//
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/gitlabhq/gitlab/17.2.0/docs/resources/integration_jenkins#push_events IntegrationJenkins#push_events}
PushEvents interface{} `field:"optional" json:"pushEvents" yaml:"pushEvents"`
// Enable notifications for tag push events.
//
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/gitlabhq/gitlab/17.2.0/docs/resources/integration_jenkins#tag_push_events IntegrationJenkins#tag_push_events}
TagPushEvents interface{} `field:"optional" json:"tagPushEvents" yaml:"tagPushEvents"`
// Username for authentication with the Jenkins server, if authentication is required by the server.
//
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/gitlabhq/gitlab/17.2.0/docs/resources/integration_jenkins#username IntegrationJenkins#username}
Username *string `field:"optional" json:"username" yaml:"username"`
}