1. Registry
  2. Packages
  3. Files.com
  4. API Docs
  5. EventChannel
Viewing docs for Files.com v0.1.1
published on Thursday, Aug 20, 2026 by jschady
filescom logo
Viewing docs for Files.com v0.1.1
published on Thursday, Aug 20, 2026 by jschady

    An EventChannel is a named grouping of EventSubscriptions.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as filescom from "pulumi-filescom";
    
    const exampleEventChannel = new filescom.EventChannel("example_event_channel", {
        name: "example",
        workspaceId: 1,
        description: "example",
        enabled: true,
        defaultChannel: true,
    });
    
    import pulumi
    import pulumi_filescom as filescom
    
    example_event_channel = filescom.EventChannel("example_event_channel",
        name="example",
        workspace_id=1,
        description="example",
        enabled=True,
        default_channel=True)
    
    package main
    
    import (
    	"github.com/jschady/pulumi-filescom/sdk/go/filescom"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := filescom.NewEventChannel(ctx, "example_event_channel", &filescom.EventChannelArgs{
    			Name:           pulumi.String("example"),
    			WorkspaceId:    pulumi.Int(1),
    			Description:    pulumi.String("example"),
    			Enabled:        pulumi.Bool(true),
    			DefaultChannel: pulumi.Bool(true),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Filescom = Jschady.Filescom;
    
    return await Deployment.RunAsync(() => 
    {
        var exampleEventChannel = new Filescom.EventChannel("example_event_channel", new()
        {
            Name = "example",
            WorkspaceId = 1,
            Description = "example",
            Enabled = true,
            DefaultChannel = true,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.filescom.EventChannel;
    import com.pulumi.filescom.EventChannelArgs;
    import java.util.ArrayList;
    import java.util.Arrays;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var exampleEventChannel = new EventChannel("exampleEventChannel", EventChannelArgs.builder()
                .name("example")
                .workspaceId(1)
                .description("example")
                .enabled(true)
                .defaultChannel(true)
                .build());
    
        }
    }
    
    resources:
      exampleEventChannel:
        type: filescom:EventChannel
        name: example_event_channel
        properties:
          name: example
          workspaceId: 1
          description: example
          enabled: true
          defaultChannel: true
    
    pulumi {
      required_providers {
        filescom = {
          source = "pulumi/filescom"
        }
      }
    }
    
    resource "filescom_eventchannel" "example_event_channel" {
      name            = "example"
      workspace_id    = 1
      description     = "example"
      enabled         = true
      default_channel = true
    }
    

    Create EventChannel Resource

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

    Constructor syntax

    new EventChannel(name: string, args?: EventChannelArgs, opts?: CustomResourceOptions);
    @overload
    def EventChannel(resource_name: str,
                     args: Optional[EventChannelArgs] = None,
                     opts: Optional[ResourceOptions] = None)
    
    @overload
    def EventChannel(resource_name: str,
                     opts: Optional[ResourceOptions] = None,
                     default_channel: Optional[bool] = None,
                     description: Optional[str] = None,
                     enabled: Optional[bool] = None,
                     name: Optional[str] = None,
                     workspace_id: Optional[int] = None)
    func NewEventChannel(ctx *Context, name string, args *EventChannelArgs, opts ...ResourceOption) (*EventChannel, error)
    public EventChannel(string name, EventChannelArgs? args = null, CustomResourceOptions? opts = null)
    public EventChannel(String name, EventChannelArgs args)
    public EventChannel(String name, EventChannelArgs args, CustomResourceOptions options)
    
    type: filescom:EventChannel
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    resource "filescom_event_channel" "name" {
        # resource properties
    }

    Parameters

    name string
    The unique name of the resource.
    args EventChannelArgs
    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 EventChannelArgs
    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 EventChannelArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args EventChannelArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args EventChannelArgs
    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 eventChannelResource = new Filescom.EventChannel("eventChannelResource", new()
    {
        DefaultChannel = false,
        Description = "string",
        Enabled = false,
        Name = "string",
        WorkspaceId = 0,
    });
    
    example, err := filescom.NewEventChannel(ctx, "eventChannelResource", &filescom.EventChannelArgs{
    	DefaultChannel: pulumi.Bool(false),
    	Description:    pulumi.String("string"),
    	Enabled:        pulumi.Bool(false),
    	Name:           pulumi.String("string"),
    	WorkspaceId:    pulumi.Int(0),
    })
    
    resource "filescom_event_channel" "eventChannelResource" {
      lifecycle {
        create_before_destroy = true
      }
      default_channel = false
      description     = "string"
      enabled         = false
      name            = "string"
      workspace_id    = 0
    }
    
    var eventChannelResource = new EventChannel("eventChannelResource", EventChannelArgs.builder()
        .defaultChannel(false)
        .description("string")
        .enabled(false)
        .name("string")
        .workspaceId(0)
        .build());
    
    event_channel_resource = filescom.EventChannel("eventChannelResource",
        default_channel=False,
        description="string",
        enabled=False,
        name="string",
        workspace_id=0)
    
    const eventChannelResource = new filescom.EventChannel("eventChannelResource", {
        defaultChannel: false,
        description: "string",
        enabled: false,
        name: "string",
        workspaceId: 0,
    });
    
    type: filescom:EventChannel
    properties:
        defaultChannel: false
        description: string
        enabled: false
        name: string
        workspaceId: 0
    

    EventChannel 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 EventChannel resource accepts the following input properties:

    DefaultChannel bool
    Whether this Event Channel is the default destination for newly published events.
    Description string
    Event Channel description.
    Enabled bool
    Whether this Event Channel can dispatch events.
    Name string
    Event Channel name.
    WorkspaceId int
    Workspace ID. 0 means the default workspace.
    DefaultChannel bool
    Whether this Event Channel is the default destination for newly published events.
    Description string
    Event Channel description.
    Enabled bool
    Whether this Event Channel can dispatch events.
    Name string
    Event Channel name.
    WorkspaceId int
    Workspace ID. 0 means the default workspace.
    default_channel bool
    Whether this Event Channel is the default destination for newly published events.
    description string
    Event Channel description.
    enabled bool
    Whether this Event Channel can dispatch events.
    name string
    Event Channel name.
    workspace_id number
    Workspace ID. 0 means the default workspace.
    defaultChannel Boolean
    Whether this Event Channel is the default destination for newly published events.
    description String
    Event Channel description.
    enabled Boolean
    Whether this Event Channel can dispatch events.
    name String
    Event Channel name.
    workspaceId Integer
    Workspace ID. 0 means the default workspace.
    defaultChannel boolean
    Whether this Event Channel is the default destination for newly published events.
    description string
    Event Channel description.
    enabled boolean
    Whether this Event Channel can dispatch events.
    name string
    Event Channel name.
    workspaceId number
    Workspace ID. 0 means the default workspace.
    default_channel bool
    Whether this Event Channel is the default destination for newly published events.
    description str
    Event Channel description.
    enabled bool
    Whether this Event Channel can dispatch events.
    name str
    Event Channel name.
    workspace_id int
    Workspace ID. 0 means the default workspace.
    defaultChannel Boolean
    Whether this Event Channel is the default destination for newly published events.
    description String
    Event Channel description.
    enabled Boolean
    Whether this Event Channel can dispatch events.
    name String
    Event Channel name.
    workspaceId Number
    Workspace ID. 0 means the default workspace.

    Outputs

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

    CreatedAt string
    Event Channel create date/time.
    Id string
    The provider-assigned unique ID for this managed resource.
    UpdatedAt string
    Event Channel update date/time.
    CreatedAt string
    Event Channel create date/time.
    Id string
    The provider-assigned unique ID for this managed resource.
    UpdatedAt string
    Event Channel update date/time.
    created_at string
    Event Channel create date/time.
    id string
    The provider-assigned unique ID for this managed resource.
    updated_at string
    Event Channel update date/time.
    createdAt String
    Event Channel create date/time.
    id String
    The provider-assigned unique ID for this managed resource.
    updatedAt String
    Event Channel update date/time.
    createdAt string
    Event Channel create date/time.
    id string
    The provider-assigned unique ID for this managed resource.
    updatedAt string
    Event Channel update date/time.
    created_at str
    Event Channel create date/time.
    id str
    The provider-assigned unique ID for this managed resource.
    updated_at str
    Event Channel update date/time.
    createdAt String
    Event Channel create date/time.
    id String
    The provider-assigned unique ID for this managed resource.
    updatedAt String
    Event Channel update date/time.

    Look up Existing EventChannel Resource

    Get an existing EventChannel 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?: EventChannelState, opts?: CustomResourceOptions): EventChannel
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            created_at: Optional[str] = None,
            default_channel: Optional[bool] = None,
            description: Optional[str] = None,
            enabled: Optional[bool] = None,
            name: Optional[str] = None,
            updated_at: Optional[str] = None,
            workspace_id: Optional[int] = None) -> EventChannel
    func GetEventChannel(ctx *Context, name string, id IDInput, state *EventChannelState, opts ...ResourceOption) (*EventChannel, error)
    public static EventChannel Get(string name, Input<string> id, EventChannelState? state, CustomResourceOptions? opts = null)
    public static EventChannel get(String name, Output<String> id, EventChannelState state, CustomResourceOptions options)
    resources:  _:    type: filescom:EventChannel    get:      id: ${id}
    import {
      to = filescom_event_channel.example
      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:
    CreatedAt string
    Event Channel create date/time.
    DefaultChannel bool
    Whether this Event Channel is the default destination for newly published events.
    Description string
    Event Channel description.
    Enabled bool
    Whether this Event Channel can dispatch events.
    Name string
    Event Channel name.
    UpdatedAt string
    Event Channel update date/time.
    WorkspaceId int
    Workspace ID. 0 means the default workspace.
    CreatedAt string
    Event Channel create date/time.
    DefaultChannel bool
    Whether this Event Channel is the default destination for newly published events.
    Description string
    Event Channel description.
    Enabled bool
    Whether this Event Channel can dispatch events.
    Name string
    Event Channel name.
    UpdatedAt string
    Event Channel update date/time.
    WorkspaceId int
    Workspace ID. 0 means the default workspace.
    created_at string
    Event Channel create date/time.
    default_channel bool
    Whether this Event Channel is the default destination for newly published events.
    description string
    Event Channel description.
    enabled bool
    Whether this Event Channel can dispatch events.
    name string
    Event Channel name.
    updated_at string
    Event Channel update date/time.
    workspace_id number
    Workspace ID. 0 means the default workspace.
    createdAt String
    Event Channel create date/time.
    defaultChannel Boolean
    Whether this Event Channel is the default destination for newly published events.
    description String
    Event Channel description.
    enabled Boolean
    Whether this Event Channel can dispatch events.
    name String
    Event Channel name.
    updatedAt String
    Event Channel update date/time.
    workspaceId Integer
    Workspace ID. 0 means the default workspace.
    createdAt string
    Event Channel create date/time.
    defaultChannel boolean
    Whether this Event Channel is the default destination for newly published events.
    description string
    Event Channel description.
    enabled boolean
    Whether this Event Channel can dispatch events.
    name string
    Event Channel name.
    updatedAt string
    Event Channel update date/time.
    workspaceId number
    Workspace ID. 0 means the default workspace.
    created_at str
    Event Channel create date/time.
    default_channel bool
    Whether this Event Channel is the default destination for newly published events.
    description str
    Event Channel description.
    enabled bool
    Whether this Event Channel can dispatch events.
    name str
    Event Channel name.
    updated_at str
    Event Channel update date/time.
    workspace_id int
    Workspace ID. 0 means the default workspace.
    createdAt String
    Event Channel create date/time.
    defaultChannel Boolean
    Whether this Event Channel is the default destination for newly published events.
    description String
    Event Channel description.
    enabled Boolean
    Whether this Event Channel can dispatch events.
    name String
    Event Channel name.
    updatedAt String
    Event Channel update date/time.
    workspaceId Number
    Workspace ID. 0 means the default workspace.

    Import

    The pulumi import command can be used, for example:

    Event Channels can be imported by specifying the id.

    $ pulumi import filescom:index/eventChannel:EventChannel example_event_channel 1
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    filescom jschady/pulumi-filescom
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the filescom Terraform Provider.
    filescom logo
    Viewing docs for Files.com v0.1.1
    published on Thursday, Aug 20, 2026 by jschady

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial