GroupHookArgs

data class GroupHookArgs(val branchFilterStrategy: Output<String>? = null, val confidentialIssuesEvents: Output<Boolean>? = null, val confidentialNoteEvents: Output<Boolean>? = null, val customHeaders: Output<List<GroupHookCustomHeaderArgs>>? = null, val customWebhookTemplate: Output<String>? = null, val deploymentEvents: Output<Boolean>? = null, val description: Output<String>? = null, val enableSslVerification: Output<Boolean>? = null, val featureFlagEvents: Output<Boolean>? = null, val group: Output<String>? = null, val issuesEvents: Output<Boolean>? = null, val jobEvents: Output<Boolean>? = null, val mergeRequestsEvents: Output<Boolean>? = null, val name: Output<String>? = null, val noteEvents: Output<Boolean>? = null, val pipelineEvents: Output<Boolean>? = null, val pushEvents: Output<Boolean>? = null, val pushEventsBranchFilter: Output<String>? = null, val releasesEvents: Output<Boolean>? = null, val subgroupEvents: Output<Boolean>? = null, val tagPushEvents: Output<Boolean>? = null, val token: Output<String>? = null, val url: Output<String>? = null, val wikiPageEvents: Output<Boolean>? = null) : ConvertibleToJava<GroupHookArgs>

The gitlab.GroupHook resource allows to manage the lifecycle of a group hook. Upstream API: GitLab REST API docs

Import

Starting in Terraform v1.5.0 you can use an import block to import gitlab_group_hook. For example: terraform import { to = gitlab_group_hook.example id = "see CLI command below for ID" } Import using the CLI is supported using the following syntax: A GitLab Group Hook can be imported using a key composed of <group-id>:<hook-id>, e.g.

$ pulumi import gitlab:index/groupHook:GroupHook example "12345:1"

NOTE: the token resource attribute is not available for imported resources as this information cannot be read from the GitLab API.

Constructors

Link copied to clipboard
constructor(branchFilterStrategy: Output<String>? = null, confidentialIssuesEvents: Output<Boolean>? = null, confidentialNoteEvents: Output<Boolean>? = null, customHeaders: Output<List<GroupHookCustomHeaderArgs>>? = null, customWebhookTemplate: Output<String>? = null, deploymentEvents: Output<Boolean>? = null, description: Output<String>? = null, enableSslVerification: Output<Boolean>? = null, featureFlagEvents: Output<Boolean>? = null, group: Output<String>? = null, issuesEvents: Output<Boolean>? = null, jobEvents: Output<Boolean>? = null, mergeRequestsEvents: Output<Boolean>? = null, name: Output<String>? = null, noteEvents: Output<Boolean>? = null, pipelineEvents: Output<Boolean>? = null, pushEvents: Output<Boolean>? = null, pushEventsBranchFilter: Output<String>? = null, releasesEvents: Output<Boolean>? = null, subgroupEvents: Output<Boolean>? = null, tagPushEvents: Output<Boolean>? = null, token: Output<String>? = null, url: Output<String>? = null, wikiPageEvents: Output<Boolean>? = null)

Properties

Link copied to clipboard
val branchFilterStrategy: Output<String>? = null

Filter push events by branch. Valid values are: wildcard, regex, all_branches.

Link copied to clipboard
val confidentialIssuesEvents: Output<Boolean>? = null

Invoke the hook for confidential issues events.

Link copied to clipboard
val confidentialNoteEvents: Output<Boolean>? = null

Invoke the hook for confidential note events.

Link copied to clipboard

Custom headers for the project webhook.

Link copied to clipboard
val customWebhookTemplate: Output<String>? = null

Custom webhook template.

Link copied to clipboard
val deploymentEvents: Output<Boolean>? = null

Invoke the hook for deployment events.

Link copied to clipboard
val description: Output<String>? = null

Description of the group webhook.

Link copied to clipboard
val enableSslVerification: Output<Boolean>? = null

Enable SSL verification when invoking the hook.

Link copied to clipboard
val featureFlagEvents: Output<Boolean>? = null

Invoke the hook for feature flag events.

Link copied to clipboard
val group: Output<String>? = null

The full path or id of the group to add the hook to.

Link copied to clipboard
val issuesEvents: Output<Boolean>? = null

Invoke the hook for issues events.

Link copied to clipboard
val jobEvents: Output<Boolean>? = null

Invoke the hook for job events.

Link copied to clipboard
val mergeRequestsEvents: Output<Boolean>? = null

Invoke the hook for merge requests events.

Link copied to clipboard
val name: Output<String>? = null

Name of the group webhook.

Link copied to clipboard
val noteEvents: Output<Boolean>? = null

Invoke the hook for note events.

Link copied to clipboard
val pipelineEvents: Output<Boolean>? = null

Invoke the hook for pipeline events.

Link copied to clipboard
val pushEvents: Output<Boolean>? = null

Invoke the hook for push events.

Link copied to clipboard
val pushEventsBranchFilter: Output<String>? = null

Invoke the hook for push events on matching branches only.

Link copied to clipboard
val releasesEvents: Output<Boolean>? = null

Invoke the hook for release events.

Link copied to clipboard
val subgroupEvents: Output<Boolean>? = null

Invoke the hook for subgroup events.

Link copied to clipboard
val tagPushEvents: Output<Boolean>? = null

Invoke the hook for tag push events.

Link copied to clipboard
val token: Output<String>? = null

A token to present when invoking the hook. The token is not available for imported resources.

Link copied to clipboard
val url: Output<String>? = null

The url of the hook to invoke. Forces re-creation to preserve token.

Link copied to clipboard
val wikiPageEvents: Output<Boolean>? = null

Invoke the hook for wiki page events.

Functions

Link copied to clipboard
open override fun toJava(): GroupHookArgs