Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewServiceJira_Override ¶
func NewServiceJira_Override(s ServiceJira, scope constructs.Construct, id *string, config *ServiceJiraConfig)
Create a new {@link https://www.terraform.io/docs/providers/gitlab/r/service_jira gitlab_service_jira} Resource.
func ServiceJira_IsConstruct ¶
func ServiceJira_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 ServiceJira_TfResourceType ¶
func ServiceJira_TfResourceType() *string
Types ¶
type ServiceJira ¶
type ServiceJira interface { cdktf.TerraformResource Active() cdktf.IResolvable ApiUrl() *string SetApiUrl(val *string) ApiUrlInput() *string // Experimental. CdktfStack() cdktf.TerraformStack CommentOnEventEnabled() interface{} SetCommentOnEventEnabled(val interface{}) CommentOnEventEnabledInput() interface{} CommitEvents() interface{} SetCommitEvents(val interface{}) CommitEventsInput() interface{} // Experimental. Connection() interface{} // Experimental. SetConnection(val interface{}) // Experimental. ConstructNodeMetadata() *map[string]interface{} // Experimental. Count() *float64 // Experimental. SetCount(val *float64) CreatedAt() *string // Experimental. DependsOn() *[]*string // Experimental. SetDependsOn(val *[]*string) // Experimental. ForEach() cdktf.ITerraformIterator // Experimental. SetForEach(val cdktf.ITerraformIterator) // Experimental. Fqn() *string // Experimental. FriendlyUniqueId() *string Id() *string SetId(val *string) IdInput() *string IssuesEvents() interface{} SetIssuesEvents(val interface{}) IssuesEventsInput() interface{} JiraIssueTransitionId() *string SetJiraIssueTransitionId(val *string) JiraIssueTransitionIdInput() *string JobEvents() interface{} SetJobEvents(val interface{}) JobEventsInput() interface{} // Experimental. Lifecycle() *cdktf.TerraformResourceLifecycle // Experimental. SetLifecycle(val *cdktf.TerraformResourceLifecycle) MergeRequestsEvents() interface{} SetMergeRequestsEvents(val interface{}) MergeRequestsEventsInput() interface{} // The tree node. Node() constructs.Node NoteEvents() interface{} SetNoteEvents(val interface{}) NoteEventsInput() interface{} Password() *string SetPassword(val *string) PasswordInput() *string PipelineEvents() interface{} SetPipelineEvents(val interface{}) PipelineEventsInput() interface{} Project() *string SetProject(val *string) ProjectInput() *string ProjectKey() *string SetProjectKey(val *string) ProjectKeyInput() *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 Title() *string UpdatedAt() *string Url() *string SetUrl(val *string) UrlInput() *string Username() *string SetUsername(val *string) UsernameInput() *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. InterpolationForAttribute(terraformAttribute *string) cdktf.IResolvable // Overrides the auto-generated logical ID with a specific ID. // Experimental. OverrideLogicalId(newLogicalId *string) ResetApiUrl() ResetCommentOnEventEnabled() ResetCommitEvents() ResetId() ResetIssuesEvents() ResetJiraIssueTransitionId() ResetJobEvents() ResetMergeRequestsEvents() ResetNoteEvents() // Resets a previously passed logical Id to use the auto-generated logical id again. // Experimental. ResetOverrideLogicalId() ResetPipelineEvents() ResetProjectKey() ResetPushEvents() ResetTagPushEvents() SynthesizeAttributes() *map[string]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://www.terraform.io/docs/providers/gitlab/r/service_jira gitlab_service_jira}.
func NewServiceJira ¶
func NewServiceJira(scope constructs.Construct, id *string, config *ServiceJiraConfig) ServiceJira
Create a new {@link https://www.terraform.io/docs/providers/gitlab/r/service_jira gitlab_service_jira} Resource.
type ServiceJiraConfig ¶
type ServiceJiraConfig struct { // Experimental. Connection interface{} `field:"optional" json:"connection" yaml:"connection"` // Experimental. Count *float64 `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"` // The password of the user created to be used with GitLab/JIRA. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/gitlab/r/service_jira#password ServiceJira#password} Password *string `field:"required" json:"password" yaml:"password"` // ID of the project you want to activate integration on. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/gitlab/r/service_jira#project ServiceJira#project} Project *string `field:"required" json:"project" yaml:"project"` // The URL to the JIRA project which is being linked to this GitLab project. For example, https://jira.example.com. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/gitlab/r/service_jira#url ServiceJira#url} Url *string `field:"required" json:"url" yaml:"url"` // The username of the user created to be used with GitLab/JIRA. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/gitlab/r/service_jira#username ServiceJira#username} Username *string `field:"required" json:"username" yaml:"username"` // The base URL to the Jira instance API. Web URL value is used if not set. For example, https://jira-api.example.com. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/gitlab/r/service_jira#api_url ServiceJira#api_url} ApiUrl *string `field:"optional" json:"apiUrl" yaml:"apiUrl"` // Enable comments inside Jira issues on each GitLab event (commit / merge request). // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/gitlab/r/service_jira#comment_on_event_enabled ServiceJira#comment_on_event_enabled} CommentOnEventEnabled interface{} `field:"optional" json:"commentOnEventEnabled" yaml:"commentOnEventEnabled"` // Enable notifications for commit events. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/gitlab/r/service_jira#commit_events ServiceJira#commit_events} CommitEvents interface{} `field:"optional" json:"commitEvents" yaml:"commitEvents"` // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/gitlab/r/service_jira#id ServiceJira#id}. // // Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2. // If you experience problems setting this value it might not be settable. Please take a look at the provider documentation to ensure it should be settable. Id *string `field:"optional" json:"id" yaml:"id"` // Enable notifications for issues events. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/gitlab/r/service_jira#issues_events ServiceJira#issues_events} IssuesEvents interface{} `field:"optional" json:"issuesEvents" yaml:"issuesEvents"` // The ID of a transition that moves issues to a closed state. // // You can find this number under the JIRA workflow administration (Administration > Issues > Workflows) by selecting View under Operations of the desired workflow of your project. By default, this ID is set to 2. *Note**: importing this field is only supported since GitLab 15.2. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/gitlab/r/service_jira#jira_issue_transition_id ServiceJira#jira_issue_transition_id} JiraIssueTransitionId *string `field:"optional" json:"jiraIssueTransitionId" yaml:"jiraIssueTransitionId"` // Enable notifications for job events. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/gitlab/r/service_jira#job_events ServiceJira#job_events} JobEvents interface{} `field:"optional" json:"jobEvents" yaml:"jobEvents"` // Enable notifications for merge request events. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/gitlab/r/service_jira#merge_requests_events ServiceJira#merge_requests_events} MergeRequestsEvents interface{} `field:"optional" json:"mergeRequestsEvents" yaml:"mergeRequestsEvents"` // Enable notifications for note events. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/gitlab/r/service_jira#note_events ServiceJira#note_events} NoteEvents interface{} `field:"optional" json:"noteEvents" yaml:"noteEvents"` // Enable notifications for pipeline events. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/gitlab/r/service_jira#pipeline_events ServiceJira#pipeline_events} PipelineEvents interface{} `field:"optional" json:"pipelineEvents" yaml:"pipelineEvents"` // The short identifier for your JIRA project, all uppercase, e.g., PROJ. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/gitlab/r/service_jira#project_key ServiceJira#project_key} ProjectKey *string `field:"optional" json:"projectKey" yaml:"projectKey"` // Enable notifications for push events. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/gitlab/r/service_jira#push_events ServiceJira#push_events} PushEvents interface{} `field:"optional" json:"pushEvents" yaml:"pushEvents"` // Enable notifications for tag_push events. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/gitlab/r/service_jira#tag_push_events ServiceJira#tag_push_events} TagPushEvents interface{} `field:"optional" json:"tagPushEvents" yaml:"tagPushEvents"` }