ServiceSlack

Create a ServiceSlack Resource

new ServiceSlack(name: string, args: ServiceSlackArgs, opts?: CustomResourceOptions);
@overload
def ServiceSlack(resource_name: 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_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,
                 notify_only_default_branch: 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)
@overload
def ServiceSlack(resource_name: str,
                 args: ServiceSlackArgs,
                 opts: Optional[ResourceOptions] = None)
func NewServiceSlack(ctx *Context, name string, args ServiceSlackArgs, opts ...ResourceOption) (*ServiceSlack, error)
public ServiceSlack(string name, ServiceSlackArgs args, CustomResourceOptions? opts = null)
name string
The unique name of the resource.
args ServiceSlackArgs
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 ServiceSlackArgs
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 ServiceSlackArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args ServiceSlackArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.

ServiceSlack Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Programming Model docs.

Inputs

The ServiceSlack resource accepts the following input properties:

Project string
ID of the project you want to activate integration on.
Webhook string
Webhook URL (ex.: https://hooks.slack.com/services/...)
BranchesToBeNotified string
Branches to send notifications for. Valid options are “all”, “default”, “protected”, and “default_and_protected”.
ConfidentialIssueChannel string
The name of the channel to receive confidential issue events notifications.
ConfidentialIssuesEvents bool
Enable notifications for confidential issues events.
ConfidentialNoteEvents bool
Enable notifications for confidential note events.
IssueChannel string
The name of the channel to receive issue events notifications.
IssuesEvents bool
Enable notifications for issues events.
MergeRequestChannel string
The name of the channel to receive merge request events notifications.
MergeRequestsEvents bool
Enable notifications for merge requests events.
NoteChannel string
The name of the channel to receive note events notifications.
NoteEvents bool
Enable notifications for note events.
NotifyOnlyBrokenPipelines bool
Send notifications for broken pipelines.
NotifyOnlyDefaultBranch bool
DEPRECATED: This parameter has been replaced with branches_to_be_notified.

Deprecated: use ‘branches_to_be_notified’ argument instead

PipelineChannel string
The name of the channel to receive pipeline events notifications.
PipelineEvents bool
Enable notifications for pipeline events.
PushChannel string
The name of the channel to receive push events notifications.
PushEvents bool
Enable notifications for push events.
TagPushChannel string
The name of the channel to receive tag push events notifications.
TagPushEvents bool
Enable notifications for tag push events.
Username string
Username to use.
WikiPageChannel string
The name of the channel to receive wiki page events notifications.
WikiPageEvents bool
Enable notifications for wiki page events.
Project string
ID of the project you want to activate integration on.
Webhook string
Webhook URL (ex.: https://hooks.slack.com/services/...)
BranchesToBeNotified string
Branches to send notifications for. Valid options are “all”, “default”, “protected”, and “default_and_protected”.
ConfidentialIssueChannel string
The name of the channel to receive confidential issue events notifications.
ConfidentialIssuesEvents bool
Enable notifications for confidential issues events.
ConfidentialNoteEvents bool
Enable notifications for confidential note events.
IssueChannel string
The name of the channel to receive issue events notifications.
IssuesEvents bool
Enable notifications for issues events.
MergeRequestChannel string
The name of the channel to receive merge request events notifications.
MergeRequestsEvents bool
Enable notifications for merge requests events.
NoteChannel string
The name of the channel to receive note events notifications.
NoteEvents bool
Enable notifications for note events.
NotifyOnlyBrokenPipelines bool
Send notifications for broken pipelines.
NotifyOnlyDefaultBranch bool
DEPRECATED: This parameter has been replaced with branches_to_be_notified.

Deprecated: use ‘branches_to_be_notified’ argument instead

PipelineChannel string
The name of the channel to receive pipeline events notifications.
PipelineEvents bool
Enable notifications for pipeline events.
PushChannel string
The name of the channel to receive push events notifications.
PushEvents bool
Enable notifications for push events.
TagPushChannel string
The name of the channel to receive tag push events notifications.
TagPushEvents bool
Enable notifications for tag push events.
Username string
Username to use.
WikiPageChannel string
The name of the channel to receive wiki page events notifications.
WikiPageEvents bool
Enable notifications for wiki page events.
project string
ID of the project you want to activate integration on.
webhook string
Webhook URL (ex.: https://hooks.slack.com/services/...)
branchesToBeNotified string
Branches to send notifications for. Valid options are “all”, “default”, “protected”, and “default_and_protected”.
confidentialIssueChannel string
The name of the channel to receive confidential issue events notifications.
confidentialIssuesEvents boolean
Enable notifications for confidential issues events.
confidentialNoteEvents boolean
Enable notifications for confidential note events.
issueChannel string
The name of the channel to receive issue events notifications.
issuesEvents boolean
Enable notifications for issues events.
mergeRequestChannel string
The name of the channel to receive merge request events notifications.
mergeRequestsEvents boolean
Enable notifications for merge requests events.
noteChannel string
The name of the channel to receive note events notifications.
noteEvents boolean
Enable notifications for note events.
notifyOnlyBrokenPipelines boolean
Send notifications for broken pipelines.
notifyOnlyDefaultBranch boolean
DEPRECATED: This parameter has been replaced with branches_to_be_notified.

Deprecated: use ‘branches_to_be_notified’ argument instead

pipelineChannel string
The name of the channel to receive pipeline events notifications.
pipelineEvents boolean
Enable notifications for pipeline events.
pushChannel string
The name of the channel to receive push events notifications.
pushEvents boolean
Enable notifications for push events.
tagPushChannel string
The name of the channel to receive tag push events notifications.
tagPushEvents boolean
Enable notifications for tag push events.
username string
Username to use.
wikiPageChannel string
The name of the channel to receive wiki page events notifications.
wikiPageEvents boolean
Enable notifications for wiki page events.
project str
ID of the project you want to activate integration on.
webhook str
Webhook URL (ex.: https://hooks.slack.com/services/...)
branches_to_be_notified str
Branches to send notifications for. Valid options are “all”, “default”, “protected”, and “default_and_protected”.
confidential_issue_channel str
The name of the channel to receive confidential issue events notifications.
confidential_issues_events bool
Enable notifications for confidential issues events.
confidential_note_events bool
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_channel str
The name of the channel to receive merge request events notifications.
merge_requests_events bool
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_broken_pipelines bool
Send notifications for broken pipelines.
notify_only_default_branch bool
DEPRECATED: This parameter has been replaced with branches_to_be_notified.

Deprecated: use ‘branches_to_be_notified’ argument instead

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_channel str
The name of the channel to receive tag push events notifications.
tag_push_events bool
Enable notifications for tag push events.
username str
Username to use.
wiki_page_channel str
The name of the channel to receive wiki page events notifications.
wiki_page_events bool
Enable notifications for wiki page events.

Outputs

All input properties are implicitly available as output properties. Additionally, the ServiceSlack resource produces the following output properties:

Id string
The provider-assigned unique ID for this managed resource.
JobEvents bool
Id string
The provider-assigned unique ID for this managed resource.
JobEvents bool
id string
The provider-assigned unique ID for this managed resource.
jobEvents boolean
id str
The provider-assigned unique ID for this managed resource.
job_events bool

Look up an Existing ServiceSlack Resource

Get an existing ServiceSlack 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?: ServiceSlackState, opts?: CustomResourceOptions): ServiceSlack
@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_events: Optional[bool] = None,
        issue_channel: Optional[str] = None,
        issues_events: Optional[bool] = None,
        job_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,
        notify_only_default_branch: 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) -> ServiceSlack
func GetServiceSlack(ctx *Context, name string, id IDInput, state *ServiceSlackState, opts ...ResourceOption) (*ServiceSlack, error)
public static ServiceSlack Get(string name, Input<string> id, ServiceSlackState? state, CustomResourceOptions? opts = null)
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.

The following state arguments are supported:

BranchesToBeNotified string
Branches to send notifications for. Valid options are “all”, “default”, “protected”, and “default_and_protected”.
ConfidentialIssueChannel string
The name of the channel to receive confidential issue events notifications.
ConfidentialIssuesEvents bool
Enable notifications for confidential issues events.
ConfidentialNoteEvents bool
Enable notifications for confidential note events.
IssueChannel string
The name of the channel to receive issue events notifications.
IssuesEvents bool
Enable notifications for issues events.
JobEvents bool
MergeRequestChannel string
The name of the channel to receive merge request events notifications.
MergeRequestsEvents bool
Enable notifications for merge requests events.
NoteChannel string
The name of the channel to receive note events notifications.
NoteEvents bool
Enable notifications for note events.
NotifyOnlyBrokenPipelines bool
Send notifications for broken pipelines.
NotifyOnlyDefaultBranch bool
DEPRECATED: This parameter has been replaced with branches_to_be_notified.

Deprecated: use ‘branches_to_be_notified’ argument instead

PipelineChannel string
The name of the channel to receive pipeline events notifications.
PipelineEvents bool
Enable notifications for pipeline events.
Project string
ID of the project you want to activate integration on.
PushChannel string
The name of the channel to receive push events notifications.
PushEvents bool
Enable notifications for push events.
TagPushChannel string
The name of the channel to receive tag push events notifications.
TagPushEvents bool
Enable notifications for tag push events.
Username string
Username to use.
Webhook string
Webhook URL (ex.: https://hooks.slack.com/services/...)
WikiPageChannel string
The name of the channel to receive wiki page events notifications.
WikiPageEvents bool
Enable notifications for wiki page events.
BranchesToBeNotified string
Branches to send notifications for. Valid options are “all”, “default”, “protected”, and “default_and_protected”.
ConfidentialIssueChannel string
The name of the channel to receive confidential issue events notifications.
ConfidentialIssuesEvents bool
Enable notifications for confidential issues events.
ConfidentialNoteEvents bool
Enable notifications for confidential note events.
IssueChannel string
The name of the channel to receive issue events notifications.
IssuesEvents bool
Enable notifications for issues events.
JobEvents bool
MergeRequestChannel string
The name of the channel to receive merge request events notifications.
MergeRequestsEvents bool
Enable notifications for merge requests events.
NoteChannel string
The name of the channel to receive note events notifications.
NoteEvents bool
Enable notifications for note events.
NotifyOnlyBrokenPipelines bool
Send notifications for broken pipelines.
NotifyOnlyDefaultBranch bool
DEPRECATED: This parameter has been replaced with branches_to_be_notified.

Deprecated: use ‘branches_to_be_notified’ argument instead

PipelineChannel string
The name of the channel to receive pipeline events notifications.
PipelineEvents bool
Enable notifications for pipeline events.
Project string
ID of the project you want to activate integration on.
PushChannel string
The name of the channel to receive push events notifications.
PushEvents bool
Enable notifications for push events.
TagPushChannel string
The name of the channel to receive tag push events notifications.
TagPushEvents bool
Enable notifications for tag push events.
Username string
Username to use.
Webhook string
Webhook URL (ex.: https://hooks.slack.com/services/...)
WikiPageChannel string
The name of the channel to receive wiki page events notifications.
WikiPageEvents bool
Enable notifications for wiki page events.
branchesToBeNotified string
Branches to send notifications for. Valid options are “all”, “default”, “protected”, and “default_and_protected”.
confidentialIssueChannel string
The name of the channel to receive confidential issue events notifications.
confidentialIssuesEvents boolean
Enable notifications for confidential issues events.
confidentialNoteEvents boolean
Enable notifications for confidential note events.
issueChannel string
The name of the channel to receive issue events notifications.
issuesEvents boolean
Enable notifications for issues events.
jobEvents boolean
mergeRequestChannel string
The name of the channel to receive merge request events notifications.
mergeRequestsEvents boolean
Enable notifications for merge requests events.
noteChannel string
The name of the channel to receive note events notifications.
noteEvents boolean
Enable notifications for note events.
notifyOnlyBrokenPipelines boolean
Send notifications for broken pipelines.
notifyOnlyDefaultBranch boolean
DEPRECATED: This parameter has been replaced with branches_to_be_notified.

Deprecated: use ‘branches_to_be_notified’ argument instead

pipelineChannel string
The name of the channel to receive pipeline events notifications.
pipelineEvents boolean
Enable notifications for pipeline events.
project string
ID of the project you want to activate integration on.
pushChannel string
The name of the channel to receive push events notifications.
pushEvents boolean
Enable notifications for push events.
tagPushChannel string
The name of the channel to receive tag push events notifications.
tagPushEvents boolean
Enable notifications for tag push events.
username string
Username to use.
webhook string
Webhook URL (ex.: https://hooks.slack.com/services/...)
wikiPageChannel string
The name of the channel to receive wiki page events notifications.
wikiPageEvents boolean
Enable notifications for wiki page events.
branches_to_be_notified str
Branches to send notifications for. Valid options are “all”, “default”, “protected”, and “default_and_protected”.
confidential_issue_channel str
The name of the channel to receive confidential issue events notifications.
confidential_issues_events bool
Enable notifications for confidential issues events.
confidential_note_events bool
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.
job_events bool
merge_request_channel str
The name of the channel to receive merge request events notifications.
merge_requests_events bool
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_broken_pipelines bool
Send notifications for broken pipelines.
notify_only_default_branch bool
DEPRECATED: This parameter has been replaced with branches_to_be_notified.

Deprecated: use ‘branches_to_be_notified’ argument instead

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_channel str
The name of the channel to receive tag push events notifications.
tag_push_events bool
Enable notifications for tag push events.
username str
Username to use.
webhook str
Webhook URL (ex.: https://hooks.slack.com/services/...)
wiki_page_channel str
The name of the channel to receive wiki page events notifications.
wiki_page_events bool
Enable notifications for wiki page events.

Package Details

Repository
https://github.com/pulumi/pulumi-gitlab
License
Apache-2.0
Notes
This Pulumi package is based on the gitlab Terraform Provider.