This page documents the language specification for the signalfx package. If you're looking for help working with the inputs, outputs, or functions of signalfx resources in a Pulumi program, please see the resource documentation for examples and API reference.

slack

This provider is a derived work of the Terraform Provider distributed under MPL 2.0. If you encounter a bug or missing feature, first check the pulumi/pulumi-signalfx repo; however, if that doesn’t turn up anything, please consult the source terraform-providers/terraform-provider-signalfx repo.

class pulumi_signalfx.slack.Integration(resource_name, opts=None, enabled=None, name=None, webhook_url=None, __props__=None, __name__=None, __opts__=None)

SignalFx Slack integration.

NOTE When managing integrations you’ll need to use an admin token to authenticate the SignalFx provider. Otherwise you’ll receive a 4xx error.

import pulumi
import pulumi_signalfx as signalfx

slack_myteam = signalfx.slack.Integration("slackMyteam",
    enabled=True,
    webhook_url="http://example.com")
Parameters
  • resource_name (str) – The name of the resource.

  • opts (pulumi.ResourceOptions) – Options for the resource.

  • enabled (pulumi.Input[bool]) – Whether the integration is enabled.

  • name (pulumi.Input[str]) – Name of the integration.

  • webhook_url (pulumi.Input[str]) – Slack incoming webhook URL.

enabled: pulumi.Output[bool] = None

Whether the integration is enabled.

name: pulumi.Output[str] = None

Name of the integration.

webhook_url: pulumi.Output[str] = None

Slack incoming webhook URL.

static get(resource_name, id, opts=None, enabled=None, name=None, webhook_url=None)

Get an existing Integration resource’s state with the given name, id, and optional extra properties used to qualify the lookup.

Parameters
  • resource_name (str) – The unique name of the resulting resource.

  • id (str) – The unique provider ID of the resource to lookup.

  • opts (pulumi.ResourceOptions) – Options for the resource.

  • enabled (pulumi.Input[bool]) – Whether the integration is enabled.

  • name (pulumi.Input[str]) – Name of the integration.

  • webhook_url (pulumi.Input[str]) – Slack incoming webhook URL.

translate_output_property(prop)

Provides subclasses of Resource an opportunity to translate names of output properties into a format of their choosing before writing those properties to the resource object.

Parameters

prop (str) – A property name.

Returns

A potentially transformed property name.

Return type

str

translate_input_property(prop)

Provides subclasses of Resource an opportunity to translate names of input properties into a format of their choosing before sending those properties to the Pulumi engine.

Parameters

prop (str) – A property name.

Returns

A potentially transformed property name.

Return type

str