1. Packages
  2. Packages
  3. Chronosphere
  4. API Docs
  5. SlackExternalConnection
Viewing docs for Chronosphere v0.9.14
published on Monday, Apr 20, 2026 by Chronosphere
Viewing docs for Chronosphere v0.9.14
published on Monday, Apr 20, 2026 by Chronosphere

    Create SlackExternalConnection Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new SlackExternalConnection(name: string, args: SlackExternalConnectionArgs, opts?: CustomResourceOptions);
    @overload
    def SlackExternalConnection(resource_name: str,
                                args: SlackExternalConnectionArgs,
                                opts: Optional[ResourceOptions] = None)
    
    @overload
    def SlackExternalConnection(resource_name: str,
                                opts: Optional[ResourceOptions] = None,
                                name: Optional[str] = None,
                                api_url: Optional[str] = None,
                                slug: Optional[str] = None,
                                token: Optional[str] = None)
    func NewSlackExternalConnection(ctx *Context, name string, args SlackExternalConnectionArgs, opts ...ResourceOption) (*SlackExternalConnection, error)
    public SlackExternalConnection(string name, SlackExternalConnectionArgs args, CustomResourceOptions? opts = null)
    public SlackExternalConnection(String name, SlackExternalConnectionArgs args)
    public SlackExternalConnection(String name, SlackExternalConnectionArgs args, CustomResourceOptions options)
    
    type: chronosphere:SlackExternalConnection
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args SlackExternalConnectionArgs
    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 SlackExternalConnectionArgs
    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 SlackExternalConnectionArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args SlackExternalConnectionArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args SlackExternalConnectionArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var slackExternalConnectionResource = new Pulumi.SlackExternalConnection("slackExternalConnectionResource", new()
    {
        Name = "string",
        ApiUrl = "string",
        Slug = "string",
        Token = "string",
    });
    
    example, err := chronosphere.NewSlackExternalConnection(ctx, "slackExternalConnectionResource", &chronosphere.SlackExternalConnectionArgs{
    	Name:   pulumi.String("string"),
    	ApiUrl: pulumi.String("string"),
    	Slug:   pulumi.String("string"),
    	Token:  pulumi.String("string"),
    })
    
    var slackExternalConnectionResource = new SlackExternalConnection("slackExternalConnectionResource", SlackExternalConnectionArgs.builder()
        .name("string")
        .apiUrl("string")
        .slug("string")
        .token("string")
        .build());
    
    slack_external_connection_resource = chronosphere.SlackExternalConnection("slackExternalConnectionResource",
        name="string",
        api_url="string",
        slug="string",
        token="string")
    
    const slackExternalConnectionResource = new chronosphere.SlackExternalConnection("slackExternalConnectionResource", {
        name: "string",
        apiUrl: "string",
        slug: "string",
        token: "string",
    });
    
    type: chronosphere:SlackExternalConnection
    properties:
        apiUrl: string
        name: string
        slug: string
        token: string
    

    SlackExternalConnection Resource Properties

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

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The SlackExternalConnection resource accepts the following input properties:

    Name string
    ApiUrl string
    Slug string
    Token string
    Name string
    ApiUrl string
    Slug string
    Token string
    name String
    apiUrl String
    slug String
    token String
    name string
    apiUrl string
    slug string
    token string
    name str
    api_url str
    slug str
    token str
    name String
    apiUrl String
    slug String
    token String

    Outputs

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

    Id string
    The provider-assigned unique ID for this managed resource.
    Id string
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.
    id string
    The provider-assigned unique ID for this managed resource.
    id str
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.

    Look up Existing SlackExternalConnection Resource

    Get an existing SlackExternalConnection 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?: SlackExternalConnectionState, opts?: CustomResourceOptions): SlackExternalConnection
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            api_url: Optional[str] = None,
            name: Optional[str] = None,
            slug: Optional[str] = None,
            token: Optional[str] = None) -> SlackExternalConnection
    func GetSlackExternalConnection(ctx *Context, name string, id IDInput, state *SlackExternalConnectionState, opts ...ResourceOption) (*SlackExternalConnection, error)
    public static SlackExternalConnection Get(string name, Input<string> id, SlackExternalConnectionState? state, CustomResourceOptions? opts = null)
    public static SlackExternalConnection get(String name, Output<String> id, SlackExternalConnectionState state, CustomResourceOptions options)
    resources:  _:    type: chronosphere:SlackExternalConnection    get:      id: ${id}
    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.
    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:
    ApiUrl string
    Name string
    Slug string
    Token string
    ApiUrl string
    Name string
    Slug string
    Token string
    apiUrl String
    name String
    slug String
    token String
    apiUrl string
    name string
    slug string
    token string
    api_url str
    name str
    slug str
    token str
    apiUrl String
    name String
    slug String
    token String

    Package Details

    Repository
    chronosphere chronosphereio/pulumi-chronosphere
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the chronosphere Terraform Provider.
    Viewing docs for Chronosphere v0.9.14
    published on Monday, Apr 20, 2026 by Chronosphere
      Try Pulumi Cloud free. Your team will thank you.