OrganizationWebhook

class OrganizationWebhook : KotlinCustomResource

This resource allows you to create and manage webhooks for GitHub organization.

Example Usage

resources:
foo:
type: github:OrganizationWebhook
properties:
name: web
configuration:
url: https://google.de/
contentType: form
insecureSsl: false
active: false
events:
- issues

Import

Organization webhooks can be imported using the id of the webhook. The id of the webhook can be found in the URL of the webhook. For example, "https://github.com/organizations/foo-org/settings/hooks/123456789".

$ pulumi import github:index/organizationWebhook:OrganizationWebhook terraform 123456789

If secret is populated in the webhook's configuration, the value will be imported as "********".

Properties

Link copied to clipboard
val active: Output<Boolean>?

Indicate of the webhook should receive events. Defaults to true.

Link copied to clipboard

key/value pair of configuration for this webhook. Available keys are url, content_type, secret and insecure_ssl.

Link copied to clipboard
val etag: Output<String>
Link copied to clipboard
val events: Output<List<String>>

A list of events which should trigger the webhook. See a list of available events

Link copied to clipboard
val id: Output<String>
Link copied to clipboard
val pulumiChildResources: Set<KotlinResource>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val url: Output<String>

URL of the webhook

Link copied to clipboard
val urn: Output<String>