Skip to main content

NotificationService

Resource NotificationService in pulumi-buildkite.
7 min read

Resource NotificationService in pulumi-buildkite.

Pulumi type: buildkite:index/notificationService:NotificationService.

name is the Pulumi resource name. Nested object fields are documented under that object. They are not arguments of this resource.

Example#

Only required arguments are set. A string in angle brackets stands in for that argument. Any other value is an option or example written in the SDK description.

Arguments#

PropertyTypeRequiredDescription
awsEventBridgeNotificationServiceAwsEventBridge (input)noSettings for the awsEventBridge provider.
branchConfigurationstringnoA branch pattern restricting which builds produce notifications. Not supported for linear or slackWorkspace services.
datadogPipelineVisibilityNotificationServiceDatadogPipelineVisibility (input)noSettings for the datadogPipelineVisibility provider.
descriptionstringnoA description of the notification service.
enabledbooleannoWhether the notification service is enabled. Defaults to true.
openTelemetryTracingNotificationServiceOpenTelemetryTracing (input)noSettings for the openTelemetryTracing provider.
providerTypestringyesThe notification provider type. OAuth-managed linear and slackWorkspace services can be imported but cannot be created with this resource. Legacy slack services are not supported.
scopestringnoWhich resources the service applies to. Defaults to all. Only all is supported for linear and slackWorkspace services.
scopeUuidsstring[]noThe project, team, or cluster UUIDs selected by a some_* scope. Not supported for linear or slackWorkspace services.
webhookNotificationServiceWebhook (input)noSettings for the webhook provider.

Outputs#

Computed outputs are produced by the provider. They are not constructor arguments.

PropertyTypeComputedDescription
awsEventBridgeNotificationServiceAwsEventBridge (output)noSettings for the awsEventBridge provider.
branchConfigurationstringnoA branch pattern restricting which builds produce notifications. Not supported for linear or slackWorkspace services.
createdAtstringyesThe time when the notification service was created.
datadogPipelineVisibilityNotificationServiceDatadogPipelineVisibility (output)noSettings for the datadogPipelineVisibility provider.
descriptionstringnoA description of the notification service.
enabledbooleannoWhether the notification service is enabled. Defaults to true.
graphqlIdstringyesThe GraphQL ID of the notification service, when its provider has a GraphQL node type.
openTelemetryTracingNotificationServiceOpenTelemetryTracing (output)noSettings for the openTelemetryTracing provider.
providerTypestringnoThe notification provider type. OAuth-managed linear and slackWorkspace services can be imported but cannot be created with this resource. Legacy slack services are not supported.
scopestringnoWhich resources the service applies to. Defaults to all. Only all is supported for linear and slackWorkspace services.
scopeUuidsstring[]noThe project, team, or cluster UUIDs selected by a some_* scope. Not supported for linear or slackWorkspace services.
webhookNotificationServiceWebhook (output)noSettings for the webhook provider.

NotificationServiceAwsEventBridge (input)#

Input object NotificationServiceAwsEventBridge. Fields below belong to this object, not to the parent.

PropertyTypeRequiredDescription
awsAccountIdstringnoThe AWS account ID for the partner event source. Required on create, immutable, and masked by the API.
awsRegionstringnoThe AWS region for the partner event source. Required on create and immutable.
eventSourceNamestringnoThe AWS partner event source created for this service.
includeBuildMetaDatastringnoA build meta-data pattern to include in EventBridge payloads.

NotificationServiceDatadogPipelineVisibility (input)#

Input object NotificationServiceDatadogPipelineVisibility. Fields below belong to this object, not to the parent.

PropertyTypeRequiredDescription
apiKeystringnoThe Datadog API key. Required on create and masked by the API.
datadogSitestringnoThe Datadog site, such as datadoghq.com or datadoghq.eu.
datadogTagsstringnoNewline-delimited key:value tags attached to Datadog events.

NotificationServiceOpenTelemetryTracing (input)#

Input object NotificationServiceOpenTelemetryTracing. Fields below belong to this object, not to the parent.

PropertyTypeRequiredDescription
endpointstringnoThe OTLP HTTP endpoint. Required on create.
headers{ [key: string]: string }noHeaders sent to the OTLP endpoint. Buildkite never returns these values, so they are preserved only in Terraform state.
resourceAttributes{ [key: string]: string }noAdditional OpenTelemetry resource attributes.
serviceNamestringnoThe OpenTelemetry service name. Defaults to buildkite.

NotificationServiceWebhook (input)#

Input object NotificationServiceWebhook. Fields below belong to this object, not to the parent.

PropertyTypeRequiredDescription
eventsstring[]noThe webhook event names to deliver.
tlsVerifybooleannoWhether to verify the webhook endpoint's TLS certificate.
tokenstringnoThe token used to authenticate webhook deliveries. The API generates one when omitted.
tokenModestringnoHow the webhook token authenticates deliveries.
urlstringnoThe URL that receives webhook deliveries. Required when creating a webhook service.
versionnumbernoThe webhook payload version. New services must use the API's latest version, and existing services can only be upgraded to it, never downgraded.

NotificationServiceAwsEventBridge (output)#

Output object NotificationServiceAwsEventBridge. Fields below belong to this object.

PropertyTypeAlways presentDescription
awsAccountIdstringyesThe AWS account ID for the partner event source. Required on create, immutable, and masked by the API.
awsRegionstringyesThe AWS region for the partner event source. Required on create and immutable.
eventSourceNamestringyesThe AWS partner event source created for this service.
includeBuildMetaDatastringnoA build meta-data pattern to include in EventBridge payloads.

NotificationServiceDatadogPipelineVisibility (output)#

Output object NotificationServiceDatadogPipelineVisibility. Fields below belong to this object.

PropertyTypeAlways presentDescription
apiKeystringyesThe Datadog API key. Required on create and masked by the API.
datadogSitestringyesThe Datadog site, such as datadoghq.com or datadoghq.eu.
datadogTagsstringnoNewline-delimited key:value tags attached to Datadog events.

NotificationServiceOpenTelemetryTracing (output)#

Output object NotificationServiceOpenTelemetryTracing. Fields below belong to this object.

PropertyTypeAlways presentDescription
endpointstringnoThe OTLP HTTP endpoint. Required on create.
headers{ [key: string]: string }yesHeaders sent to the OTLP endpoint. Buildkite never returns these values, so they are preserved only in Terraform state.
resourceAttributes{ [key: string]: string }yesAdditional OpenTelemetry resource attributes.
serviceNamestringyesThe OpenTelemetry service name. Defaults to buildkite.

NotificationServiceWebhook (output)#

Output object NotificationServiceWebhook. Fields below belong to this object.

PropertyTypeAlways presentDescription
eventsstring[]yesThe webhook event names to deliver.
tlsVerifybooleanyesWhether to verify the webhook endpoint's TLS certificate.
tokenstringyesThe token used to authenticate webhook deliveries. The API generates one when omitted.
tokenModestringyesHow the webhook token authenticates deliveries.
urlstringnoThe URL that receives webhook deliveries. Required when creating a webhook service.
versionnumberyesThe webhook payload version. New services must use the API's latest version, and existing services can only be upgraded to it, never downgraded.