gitlab.IntegrationMattermost
Explore with Pulumi AI
The gitlab.IntegrationMattermost
resource allows to manage the lifecycle of a project integration with Mattermost.
Upstream API: GitLab REST API docs
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as gitlab from "@pulumi/gitlab";
const awesomeProject = new gitlab.Project("awesome_project", {
name: "awesome_project",
description: "My awesome project.",
visibilityLevel: "public",
});
const mattermost = new gitlab.IntegrationMattermost("mattermost", {
project: awesomeProject.id,
webhook: "https://webhook.com",
username: "myuser",
pushEvents: true,
pushChannel: "push_chan",
});
import pulumi
import pulumi_gitlab as gitlab
awesome_project = gitlab.Project("awesome_project",
name="awesome_project",
description="My awesome project.",
visibility_level="public")
mattermost = gitlab.IntegrationMattermost("mattermost",
project=awesome_project.id,
webhook="https://webhook.com",
username="myuser",
push_events=True,
push_channel="push_chan")
package main
import (
"github.com/pulumi/pulumi-gitlab/sdk/v8/go/gitlab"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
awesomeProject, err := gitlab.NewProject(ctx, "awesome_project", &gitlab.ProjectArgs{
Name: pulumi.String("awesome_project"),
Description: pulumi.String("My awesome project."),
VisibilityLevel: pulumi.String("public"),
})
if err != nil {
return err
}
_, err = gitlab.NewIntegrationMattermost(ctx, "mattermost", &gitlab.IntegrationMattermostArgs{
Project: awesomeProject.ID(),
Webhook: pulumi.String("https://webhook.com"),
Username: pulumi.String("myuser"),
PushEvents: pulumi.Bool(true),
PushChannel: pulumi.String("push_chan"),
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using GitLab = Pulumi.GitLab;
return await Deployment.RunAsync(() =>
{
var awesomeProject = new GitLab.Project("awesome_project", new()
{
Name = "awesome_project",
Description = "My awesome project.",
VisibilityLevel = "public",
});
var mattermost = new GitLab.IntegrationMattermost("mattermost", new()
{
Project = awesomeProject.Id,
Webhook = "https://webhook.com",
Username = "myuser",
PushEvents = true,
PushChannel = "push_chan",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.gitlab.Project;
import com.pulumi.gitlab.ProjectArgs;
import com.pulumi.gitlab.IntegrationMattermost;
import com.pulumi.gitlab.IntegrationMattermostArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var awesomeProject = new Project("awesomeProject", ProjectArgs.builder()
.name("awesome_project")
.description("My awesome project.")
.visibilityLevel("public")
.build());
var mattermost = new IntegrationMattermost("mattermost", IntegrationMattermostArgs.builder()
.project(awesomeProject.id())
.webhook("https://webhook.com")
.username("myuser")
.pushEvents(true)
.pushChannel("push_chan")
.build());
}
}
resources:
awesomeProject:
type: gitlab:Project
name: awesome_project
properties:
name: awesome_project
description: My awesome project.
visibilityLevel: public
mattermost:
type: gitlab:IntegrationMattermost
properties:
project: ${awesomeProject.id}
webhook: https://webhook.com
username: myuser
pushEvents: true
pushChannel: push_chan
Create IntegrationMattermost Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new IntegrationMattermost(name: string, args: IntegrationMattermostArgs, opts?: CustomResourceOptions);
@overload
def IntegrationMattermost(resource_name: str,
args: IntegrationMattermostArgs,
opts: Optional[ResourceOptions] = None)
@overload
def IntegrationMattermost(resource_name: str,
opts: Optional[ResourceOptions] = None,
project: Optional[str] = None,
webhook: Optional[str] = None,
note_events: Optional[bool] = None,
pipeline_events: Optional[bool] = None,
confidential_note_events: Optional[bool] = None,
issue_channel: Optional[str] = None,
issues_events: Optional[bool] = None,
merge_request_channel: Optional[str] = None,
merge_requests_events: Optional[bool] = None,
note_channel: Optional[str] = None,
branches_to_be_notified: Optional[str] = None,
notify_only_broken_pipelines: Optional[bool] = None,
pipeline_channel: Optional[str] = None,
confidential_note_channel: Optional[str] = None,
confidential_issues_events: Optional[bool] = None,
push_channel: Optional[str] = None,
push_events: Optional[bool] = None,
tag_push_channel: Optional[str] = None,
tag_push_events: Optional[bool] = None,
username: Optional[str] = None,
confidential_issue_channel: Optional[str] = None,
wiki_page_channel: Optional[str] = None,
wiki_page_events: Optional[bool] = None)
func NewIntegrationMattermost(ctx *Context, name string, args IntegrationMattermostArgs, opts ...ResourceOption) (*IntegrationMattermost, error)
public IntegrationMattermost(string name, IntegrationMattermostArgs args, CustomResourceOptions? opts = null)
public IntegrationMattermost(String name, IntegrationMattermostArgs args)
public IntegrationMattermost(String name, IntegrationMattermostArgs args, CustomResourceOptions options)
type: gitlab:IntegrationMattermost
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args IntegrationMattermostArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args IntegrationMattermostArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args IntegrationMattermostArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args IntegrationMattermostArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args IntegrationMattermostArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var integrationMattermostResource = new GitLab.IntegrationMattermost("integrationMattermostResource", new()
{
Project = "string",
Webhook = "string",
NoteEvents = false,
PipelineEvents = false,
ConfidentialNoteEvents = false,
IssueChannel = "string",
IssuesEvents = false,
MergeRequestChannel = "string",
MergeRequestsEvents = false,
NoteChannel = "string",
BranchesToBeNotified = "string",
NotifyOnlyBrokenPipelines = false,
PipelineChannel = "string",
ConfidentialNoteChannel = "string",
ConfidentialIssuesEvents = false,
PushChannel = "string",
PushEvents = false,
TagPushChannel = "string",
TagPushEvents = false,
Username = "string",
ConfidentialIssueChannel = "string",
WikiPageChannel = "string",
WikiPageEvents = false,
});
example, err := gitlab.NewIntegrationMattermost(ctx, "integrationMattermostResource", &gitlab.IntegrationMattermostArgs{
Project: pulumi.String("string"),
Webhook: pulumi.String("string"),
NoteEvents: pulumi.Bool(false),
PipelineEvents: pulumi.Bool(false),
ConfidentialNoteEvents: pulumi.Bool(false),
IssueChannel: pulumi.String("string"),
IssuesEvents: pulumi.Bool(false),
MergeRequestChannel: pulumi.String("string"),
MergeRequestsEvents: pulumi.Bool(false),
NoteChannel: pulumi.String("string"),
BranchesToBeNotified: pulumi.String("string"),
NotifyOnlyBrokenPipelines: pulumi.Bool(false),
PipelineChannel: pulumi.String("string"),
ConfidentialNoteChannel: pulumi.String("string"),
ConfidentialIssuesEvents: pulumi.Bool(false),
PushChannel: pulumi.String("string"),
PushEvents: pulumi.Bool(false),
TagPushChannel: pulumi.String("string"),
TagPushEvents: pulumi.Bool(false),
Username: pulumi.String("string"),
ConfidentialIssueChannel: pulumi.String("string"),
WikiPageChannel: pulumi.String("string"),
WikiPageEvents: pulumi.Bool(false),
})
var integrationMattermostResource = new IntegrationMattermost("integrationMattermostResource", IntegrationMattermostArgs.builder()
.project("string")
.webhook("string")
.noteEvents(false)
.pipelineEvents(false)
.confidentialNoteEvents(false)
.issueChannel("string")
.issuesEvents(false)
.mergeRequestChannel("string")
.mergeRequestsEvents(false)
.noteChannel("string")
.branchesToBeNotified("string")
.notifyOnlyBrokenPipelines(false)
.pipelineChannel("string")
.confidentialNoteChannel("string")
.confidentialIssuesEvents(false)
.pushChannel("string")
.pushEvents(false)
.tagPushChannel("string")
.tagPushEvents(false)
.username("string")
.confidentialIssueChannel("string")
.wikiPageChannel("string")
.wikiPageEvents(false)
.build());
integration_mattermost_resource = gitlab.IntegrationMattermost("integrationMattermostResource",
project="string",
webhook="string",
note_events=False,
pipeline_events=False,
confidential_note_events=False,
issue_channel="string",
issues_events=False,
merge_request_channel="string",
merge_requests_events=False,
note_channel="string",
branches_to_be_notified="string",
notify_only_broken_pipelines=False,
pipeline_channel="string",
confidential_note_channel="string",
confidential_issues_events=False,
push_channel="string",
push_events=False,
tag_push_channel="string",
tag_push_events=False,
username="string",
confidential_issue_channel="string",
wiki_page_channel="string",
wiki_page_events=False)
const integrationMattermostResource = new gitlab.IntegrationMattermost("integrationMattermostResource", {
project: "string",
webhook: "string",
noteEvents: false,
pipelineEvents: false,
confidentialNoteEvents: false,
issueChannel: "string",
issuesEvents: false,
mergeRequestChannel: "string",
mergeRequestsEvents: false,
noteChannel: "string",
branchesToBeNotified: "string",
notifyOnlyBrokenPipelines: false,
pipelineChannel: "string",
confidentialNoteChannel: "string",
confidentialIssuesEvents: false,
pushChannel: "string",
pushEvents: false,
tagPushChannel: "string",
tagPushEvents: false,
username: "string",
confidentialIssueChannel: "string",
wikiPageChannel: "string",
wikiPageEvents: false,
});
type: gitlab:IntegrationMattermost
properties:
branchesToBeNotified: string
confidentialIssueChannel: string
confidentialIssuesEvents: false
confidentialNoteChannel: string
confidentialNoteEvents: false
issueChannel: string
issuesEvents: false
mergeRequestChannel: string
mergeRequestsEvents: false
noteChannel: string
noteEvents: false
notifyOnlyBrokenPipelines: false
pipelineChannel: string
pipelineEvents: false
project: string
pushChannel: string
pushEvents: false
tagPushChannel: string
tagPushEvents: false
username: string
webhook: string
wikiPageChannel: string
wikiPageEvents: false
IntegrationMattermost Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
The IntegrationMattermost resource accepts the following input properties:
- Project string
- ID of the project you want to activate integration on.
- Webhook string
- Webhook URL (Example, https://mattermost.yourdomain.com/hooks/...). This value cannot be imported.
- Branches
To stringBe Notified - Branches to send notifications for. Valid options are "all", "default", "protected", and "defaultandprotected".
- Confidential
Issue stringChannel - The name of the channel to receive confidential issue events notifications.
- Confidential
Issues boolEvents - Enable notifications for confidential issues events.
- Confidential
Note stringChannel - The name of the channel to receive confidential note events notifications.
- Confidential
Note boolEvents - Enable notifications for confidential note events.
- Issue
Channel string - The name of the channel to receive issue events notifications.
- Issues
Events bool - Enable notifications for issues events.
- Merge
Request stringChannel - The name of the channel to receive merge request events notifications.
- Merge
Requests boolEvents - Enable notifications for merge requests events.
- Note
Channel string - The name of the channel to receive note events notifications.
- Note
Events bool - Enable notifications for note events.
- Notify
Only boolBroken Pipelines - Send notifications for broken pipelines.
- Pipeline
Channel string - The name of the channel to receive pipeline events notifications.
- Pipeline
Events bool - Enable notifications for pipeline events.
- Push
Channel string - The name of the channel to receive push events notifications.
- Push
Events bool - Enable notifications for push events.
- Tag
Push stringChannel - The name of the channel to receive tag push events notifications.
- Tag
Push boolEvents - Enable notifications for tag push events.
- Username string
- Username to use.
- Wiki
Page stringChannel - The name of the channel to receive wiki page events notifications.
- Wiki
Page boolEvents - Enable notifications for wiki page events.
- Project string
- ID of the project you want to activate integration on.
- Webhook string
- Webhook URL (Example, https://mattermost.yourdomain.com/hooks/...). This value cannot be imported.
- Branches
To stringBe Notified - Branches to send notifications for. Valid options are "all", "default", "protected", and "defaultandprotected".
- Confidential
Issue stringChannel - The name of the channel to receive confidential issue events notifications.
- Confidential
Issues boolEvents - Enable notifications for confidential issues events.
- Confidential
Note stringChannel - The name of the channel to receive confidential note events notifications.
- Confidential
Note boolEvents - Enable notifications for confidential note events.
- Issue
Channel string - The name of the channel to receive issue events notifications.
- Issues
Events bool - Enable notifications for issues events.
- Merge
Request stringChannel - The name of the channel to receive merge request events notifications.
- Merge
Requests boolEvents - Enable notifications for merge requests events.
- Note
Channel string - The name of the channel to receive note events notifications.
- Note
Events bool - Enable notifications for note events.
- Notify
Only boolBroken Pipelines - Send notifications for broken pipelines.
- Pipeline
Channel string - The name of the channel to receive pipeline events notifications.
- Pipeline
Events bool - Enable notifications for pipeline events.
- Push
Channel string - The name of the channel to receive push events notifications.
- Push
Events bool - Enable notifications for push events.
- Tag
Push stringChannel - The name of the channel to receive tag push events notifications.
- Tag
Push boolEvents - Enable notifications for tag push events.
- Username string
- Username to use.
- Wiki
Page stringChannel - The name of the channel to receive wiki page events notifications.
- Wiki
Page boolEvents - Enable notifications for wiki page events.
- project String
- ID of the project you want to activate integration on.
- webhook String
- Webhook URL (Example, https://mattermost.yourdomain.com/hooks/...). This value cannot be imported.
- branches
To StringBe Notified - Branches to send notifications for. Valid options are "all", "default", "protected", and "defaultandprotected".
- confidential
Issue StringChannel - The name of the channel to receive confidential issue events notifications.
- confidential
Issues BooleanEvents - Enable notifications for confidential issues events.
- confidential
Note StringChannel - The name of the channel to receive confidential note events notifications.
- confidential
Note BooleanEvents - Enable notifications for confidential note events.
- issue
Channel String - The name of the channel to receive issue events notifications.
- issues
Events Boolean - Enable notifications for issues events.
- merge
Request StringChannel - The name of the channel to receive merge request events notifications.
- merge
Requests BooleanEvents - Enable notifications for merge requests events.
- note
Channel String - The name of the channel to receive note events notifications.
- note
Events Boolean - Enable notifications for note events.
- notify
Only BooleanBroken Pipelines - Send notifications for broken pipelines.
- pipeline
Channel String - The name of the channel to receive pipeline events notifications.
- pipeline
Events Boolean - Enable notifications for pipeline events.
- push
Channel String - The name of the channel to receive push events notifications.
- push
Events Boolean - Enable notifications for push events.
- tag
Push StringChannel - The name of the channel to receive tag push events notifications.
- tag
Push BooleanEvents - Enable notifications for tag push events.
- username String
- Username to use.
- wiki
Page StringChannel - The name of the channel to receive wiki page events notifications.
- wiki
Page BooleanEvents - Enable notifications for wiki page events.
- project string
- ID of the project you want to activate integration on.
- webhook string
- Webhook URL (Example, https://mattermost.yourdomain.com/hooks/...). This value cannot be imported.
- branches
To stringBe Notified - Branches to send notifications for. Valid options are "all", "default", "protected", and "defaultandprotected".
- confidential
Issue stringChannel - The name of the channel to receive confidential issue events notifications.
- confidential
Issues booleanEvents - Enable notifications for confidential issues events.
- confidential
Note stringChannel - The name of the channel to receive confidential note events notifications.
- confidential
Note booleanEvents - Enable notifications for confidential note events.
- issue
Channel string - The name of the channel to receive issue events notifications.
- issues
Events boolean - Enable notifications for issues events.
- merge
Request stringChannel - The name of the channel to receive merge request events notifications.
- merge
Requests booleanEvents - Enable notifications for merge requests events.
- note
Channel string - The name of the channel to receive note events notifications.
- note
Events boolean - Enable notifications for note events.
- notify
Only booleanBroken Pipelines - Send notifications for broken pipelines.
- pipeline
Channel string - The name of the channel to receive pipeline events notifications.
- pipeline
Events boolean - Enable notifications for pipeline events.
- push
Channel string - The name of the channel to receive push events notifications.
- push
Events boolean - Enable notifications for push events.
- tag
Push stringChannel - The name of the channel to receive tag push events notifications.
- tag
Push booleanEvents - Enable notifications for tag push events.
- username string
- Username to use.
- wiki
Page stringChannel - The name of the channel to receive wiki page events notifications.
- wiki
Page booleanEvents - Enable notifications for wiki page events.
- project str
- ID of the project you want to activate integration on.
- webhook str
- Webhook URL (Example, https://mattermost.yourdomain.com/hooks/...). This value cannot be imported.
- branches_
to_ strbe_ notified - Branches to send notifications for. Valid options are "all", "default", "protected", and "defaultandprotected".
- confidential_
issue_ strchannel - The name of the channel to receive confidential issue events notifications.
- confidential_
issues_ boolevents - Enable notifications for confidential issues events.
- confidential_
note_ strchannel - The name of the channel to receive confidential note events notifications.
- confidential_
note_ boolevents - Enable notifications for confidential note events.
- issue_
channel str - The name of the channel to receive issue events notifications.
- issues_
events bool - Enable notifications for issues events.
- merge_
request_ strchannel - The name of the channel to receive merge request events notifications.
- merge_
requests_ boolevents - Enable notifications for merge requests events.
- note_
channel str - The name of the channel to receive note events notifications.
- note_
events bool - Enable notifications for note events.
- notify_
only_ boolbroken_ pipelines - Send notifications for broken pipelines.
- pipeline_
channel str - The name of the channel to receive pipeline events notifications.
- pipeline_
events bool - Enable notifications for pipeline events.
- push_
channel str - The name of the channel to receive push events notifications.
- push_
events bool - Enable notifications for push events.
- tag_
push_ strchannel - The name of the channel to receive tag push events notifications.
- tag_
push_ boolevents - Enable notifications for tag push events.
- username str
- Username to use.
- wiki_
page_ strchannel - The name of the channel to receive wiki page events notifications.
- wiki_
page_ boolevents - Enable notifications for wiki page events.
- project String
- ID of the project you want to activate integration on.
- webhook String
- Webhook URL (Example, https://mattermost.yourdomain.com/hooks/...). This value cannot be imported.
- branches
To StringBe Notified - Branches to send notifications for. Valid options are "all", "default", "protected", and "defaultandprotected".
- confidential
Issue StringChannel - The name of the channel to receive confidential issue events notifications.
- confidential
Issues BooleanEvents - Enable notifications for confidential issues events.
- confidential
Note StringChannel - The name of the channel to receive confidential note events notifications.
- confidential
Note BooleanEvents - Enable notifications for confidential note events.
- issue
Channel String - The name of the channel to receive issue events notifications.
- issues
Events Boolean - Enable notifications for issues events.
- merge
Request StringChannel - The name of the channel to receive merge request events notifications.
- merge
Requests BooleanEvents - Enable notifications for merge requests events.
- note
Channel String - The name of the channel to receive note events notifications.
- note
Events Boolean - Enable notifications for note events.
- notify
Only BooleanBroken Pipelines - Send notifications for broken pipelines.
- pipeline
Channel String - The name of the channel to receive pipeline events notifications.
- pipeline
Events Boolean - Enable notifications for pipeline events.
- push
Channel String - The name of the channel to receive push events notifications.
- push
Events Boolean - Enable notifications for push events.
- tag
Push StringChannel - The name of the channel to receive tag push events notifications.
- tag
Push BooleanEvents - Enable notifications for tag push events.
- username String
- Username to use.
- wiki
Page StringChannel - The name of the channel to receive wiki page events notifications.
- wiki
Page BooleanEvents - Enable notifications for wiki page events.
Outputs
All input properties are implicitly available as output properties. Additionally, the IntegrationMattermost resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
- id string
- The provider-assigned unique ID for this managed resource.
- id str
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
Look up Existing IntegrationMattermost Resource
Get an existing IntegrationMattermost resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: IntegrationMattermostState, opts?: CustomResourceOptions): IntegrationMattermost
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
branches_to_be_notified: Optional[str] = None,
confidential_issue_channel: Optional[str] = None,
confidential_issues_events: Optional[bool] = None,
confidential_note_channel: Optional[str] = None,
confidential_note_events: Optional[bool] = None,
issue_channel: Optional[str] = None,
issues_events: Optional[bool] = None,
merge_request_channel: Optional[str] = None,
merge_requests_events: Optional[bool] = None,
note_channel: Optional[str] = None,
note_events: Optional[bool] = None,
notify_only_broken_pipelines: Optional[bool] = None,
pipeline_channel: Optional[str] = None,
pipeline_events: Optional[bool] = None,
project: Optional[str] = None,
push_channel: Optional[str] = None,
push_events: Optional[bool] = None,
tag_push_channel: Optional[str] = None,
tag_push_events: Optional[bool] = None,
username: Optional[str] = None,
webhook: Optional[str] = None,
wiki_page_channel: Optional[str] = None,
wiki_page_events: Optional[bool] = None) -> IntegrationMattermost
func GetIntegrationMattermost(ctx *Context, name string, id IDInput, state *IntegrationMattermostState, opts ...ResourceOption) (*IntegrationMattermost, error)
public static IntegrationMattermost Get(string name, Input<string> id, IntegrationMattermostState? state, CustomResourceOptions? opts = null)
public static IntegrationMattermost get(String name, Output<String> id, IntegrationMattermostState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Branches
To stringBe Notified - Branches to send notifications for. Valid options are "all", "default", "protected", and "defaultandprotected".
- Confidential
Issue stringChannel - The name of the channel to receive confidential issue events notifications.
- Confidential
Issues boolEvents - Enable notifications for confidential issues events.
- Confidential
Note stringChannel - The name of the channel to receive confidential note events notifications.
- Confidential
Note boolEvents - Enable notifications for confidential note events.
- Issue
Channel string - The name of the channel to receive issue events notifications.
- Issues
Events bool - Enable notifications for issues events.
- Merge
Request stringChannel - The name of the channel to receive merge request events notifications.
- Merge
Requests boolEvents - Enable notifications for merge requests events.
- Note
Channel string - The name of the channel to receive note events notifications.
- Note
Events bool - Enable notifications for note events.
- Notify
Only boolBroken Pipelines - Send notifications for broken pipelines.
- Pipeline
Channel string - The name of the channel to receive pipeline events notifications.
- Pipeline
Events bool - Enable notifications for pipeline events.
- Project string
- ID of the project you want to activate integration on.
- Push
Channel string - The name of the channel to receive push events notifications.
- Push
Events bool - Enable notifications for push events.
- Tag
Push stringChannel - The name of the channel to receive tag push events notifications.
- Tag
Push boolEvents - Enable notifications for tag push events.
- Username string
- Username to use.
- Webhook string
- Webhook URL (Example, https://mattermost.yourdomain.com/hooks/...). This value cannot be imported.
- Wiki
Page stringChannel - The name of the channel to receive wiki page events notifications.
- Wiki
Page boolEvents - Enable notifications for wiki page events.
- Branches
To stringBe Notified - Branches to send notifications for. Valid options are "all", "default", "protected", and "defaultandprotected".
- Confidential
Issue stringChannel - The name of the channel to receive confidential issue events notifications.
- Confidential
Issues boolEvents - Enable notifications for confidential issues events.
- Confidential
Note stringChannel - The name of the channel to receive confidential note events notifications.
- Confidential
Note boolEvents - Enable notifications for confidential note events.
- Issue
Channel string - The name of the channel to receive issue events notifications.
- Issues
Events bool - Enable notifications for issues events.
- Merge
Request stringChannel - The name of the channel to receive merge request events notifications.
- Merge
Requests boolEvents - Enable notifications for merge requests events.
- Note
Channel string - The name of the channel to receive note events notifications.
- Note
Events bool - Enable notifications for note events.
- Notify
Only boolBroken Pipelines - Send notifications for broken pipelines.
- Pipeline
Channel string - The name of the channel to receive pipeline events notifications.
- Pipeline
Events bool - Enable notifications for pipeline events.
- Project string
- ID of the project you want to activate integration on.
- Push
Channel string - The name of the channel to receive push events notifications.
- Push
Events bool - Enable notifications for push events.
- Tag
Push stringChannel - The name of the channel to receive tag push events notifications.
- Tag
Push boolEvents - Enable notifications for tag push events.
- Username string
- Username to use.
- Webhook string
- Webhook URL (Example, https://mattermost.yourdomain.com/hooks/...). This value cannot be imported.
- Wiki
Page stringChannel - The name of the channel to receive wiki page events notifications.
- Wiki
Page boolEvents - Enable notifications for wiki page events.
- branches
To StringBe Notified - Branches to send notifications for. Valid options are "all", "default", "protected", and "defaultandprotected".
- confidential
Issue StringChannel - The name of the channel to receive confidential issue events notifications.
- confidential
Issues BooleanEvents - Enable notifications for confidential issues events.
- confidential
Note StringChannel - The name of the channel to receive confidential note events notifications.
- confidential
Note BooleanEvents - Enable notifications for confidential note events.
- issue
Channel String - The name of the channel to receive issue events notifications.
- issues
Events Boolean - Enable notifications for issues events.
- merge
Request StringChannel - The name of the channel to receive merge request events notifications.
- merge
Requests BooleanEvents - Enable notifications for merge requests events.
- note
Channel String - The name of the channel to receive note events notifications.
- note
Events Boolean - Enable notifications for note events.
- notify
Only BooleanBroken Pipelines - Send notifications for broken pipelines.
- pipeline
Channel String - The name of the channel to receive pipeline events notifications.
- pipeline
Events Boolean - Enable notifications for pipeline events.
- project String
- ID of the project you want to activate integration on.
- push
Channel String - The name of the channel to receive push events notifications.
- push
Events Boolean - Enable notifications for push events.
- tag
Push StringChannel - The name of the channel to receive tag push events notifications.
- tag
Push BooleanEvents - Enable notifications for tag push events.
- username String
- Username to use.
- webhook String
- Webhook URL (Example, https://mattermost.yourdomain.com/hooks/...). This value cannot be imported.
- wiki
Page StringChannel - The name of the channel to receive wiki page events notifications.
- wiki
Page BooleanEvents - Enable notifications for wiki page events.
- branches
To stringBe Notified - Branches to send notifications for. Valid options are "all", "default", "protected", and "defaultandprotected".
- confidential
Issue stringChannel - The name of the channel to receive confidential issue events notifications.
- confidential
Issues booleanEvents - Enable notifications for confidential issues events.
- confidential
Note stringChannel - The name of the channel to receive confidential note events notifications.
- confidential
Note booleanEvents - Enable notifications for confidential note events.
- issue
Channel string - The name of the channel to receive issue events notifications.
- issues
Events boolean - Enable notifications for issues events.
- merge
Request stringChannel - The name of the channel to receive merge request events notifications.
- merge
Requests booleanEvents - Enable notifications for merge requests events.
- note
Channel string - The name of the channel to receive note events notifications.
- note
Events boolean - Enable notifications for note events.
- notify
Only booleanBroken Pipelines - Send notifications for broken pipelines.
- pipeline
Channel string - The name of the channel to receive pipeline events notifications.
- pipeline
Events boolean - Enable notifications for pipeline events.
- project string
- ID of the project you want to activate integration on.
- push
Channel string - The name of the channel to receive push events notifications.
- push
Events boolean - Enable notifications for push events.
- tag
Push stringChannel - The name of the channel to receive tag push events notifications.
- tag
Push booleanEvents - Enable notifications for tag push events.
- username string
- Username to use.
- webhook string
- Webhook URL (Example, https://mattermost.yourdomain.com/hooks/...). This value cannot be imported.
- wiki
Page stringChannel - The name of the channel to receive wiki page events notifications.
- wiki
Page booleanEvents - Enable notifications for wiki page events.
- branches_
to_ strbe_ notified - Branches to send notifications for. Valid options are "all", "default", "protected", and "defaultandprotected".
- confidential_
issue_ strchannel - The name of the channel to receive confidential issue events notifications.
- confidential_
issues_ boolevents - Enable notifications for confidential issues events.
- confidential_
note_ strchannel - The name of the channel to receive confidential note events notifications.
- confidential_
note_ boolevents - Enable notifications for confidential note events.
- issue_
channel str - The name of the channel to receive issue events notifications.
- issues_
events bool - Enable notifications for issues events.
- merge_
request_ strchannel - The name of the channel to receive merge request events notifications.
- merge_
requests_ boolevents - Enable notifications for merge requests events.
- note_
channel str - The name of the channel to receive note events notifications.
- note_
events bool - Enable notifications for note events.
- notify_
only_ boolbroken_ pipelines - Send notifications for broken pipelines.
- pipeline_
channel str - The name of the channel to receive pipeline events notifications.
- pipeline_
events bool - Enable notifications for pipeline events.
- project str
- ID of the project you want to activate integration on.
- push_
channel str - The name of the channel to receive push events notifications.
- push_
events bool - Enable notifications for push events.
- tag_
push_ strchannel - The name of the channel to receive tag push events notifications.
- tag_
push_ boolevents - Enable notifications for tag push events.
- username str
- Username to use.
- webhook str
- Webhook URL (Example, https://mattermost.yourdomain.com/hooks/...). This value cannot be imported.
- wiki_
page_ strchannel - The name of the channel to receive wiki page events notifications.
- wiki_
page_ boolevents - Enable notifications for wiki page events.
- branches
To StringBe Notified - Branches to send notifications for. Valid options are "all", "default", "protected", and "defaultandprotected".
- confidential
Issue StringChannel - The name of the channel to receive confidential issue events notifications.
- confidential
Issues BooleanEvents - Enable notifications for confidential issues events.
- confidential
Note StringChannel - The name of the channel to receive confidential note events notifications.
- confidential
Note BooleanEvents - Enable notifications for confidential note events.
- issue
Channel String - The name of the channel to receive issue events notifications.
- issues
Events Boolean - Enable notifications for issues events.
- merge
Request StringChannel - The name of the channel to receive merge request events notifications.
- merge
Requests BooleanEvents - Enable notifications for merge requests events.
- note
Channel String - The name of the channel to receive note events notifications.
- note
Events Boolean - Enable notifications for note events.
- notify
Only BooleanBroken Pipelines - Send notifications for broken pipelines.
- pipeline
Channel String - The name of the channel to receive pipeline events notifications.
- pipeline
Events Boolean - Enable notifications for pipeline events.
- project String
- ID of the project you want to activate integration on.
- push
Channel String - The name of the channel to receive push events notifications.
- push
Events Boolean - Enable notifications for push events.
- tag
Push StringChannel - The name of the channel to receive tag push events notifications.
- tag
Push BooleanEvents - Enable notifications for tag push events.
- username String
- Username to use.
- webhook String
- Webhook URL (Example, https://mattermost.yourdomain.com/hooks/...). This value cannot be imported.
- wiki
Page StringChannel - The name of the channel to receive wiki page events notifications.
- wiki
Page BooleanEvents - Enable notifications for wiki page events.
Import
You can import a gitlab_integration_mattermost.mattermost state using the project ID, e.g.
$ pulumi import gitlab:index/integrationMattermost:IntegrationMattermost mattermost 1
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- GitLab pulumi/pulumi-gitlab
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
gitlab
Terraform Provider.