1. Registry
  2. Packages
  3. Files.com
  4. API Docs
  5. BundleNotification
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

    A BundleNotification is an E-Mail sent out to users when certain actions are performed on or within a shared set of files and folders.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as filescom from "pulumi-filescom";
    
    const exampleBundleNotification = new filescom.BundleNotification("example_bundle_notification", {
        userId: 1,
        bundleId: 1,
        notifyUserId: 1,
        notifyOnRegistration: true,
        notifyOnUpload: true,
    });
    
    import pulumi
    import pulumi_filescom as filescom
    
    example_bundle_notification = filescom.BundleNotification("example_bundle_notification",
        user_id=1,
        bundle_id=1,
        notify_user_id=1,
        notify_on_registration=True,
        notify_on_upload=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.NewBundleNotification(ctx, "example_bundle_notification", &filescom.BundleNotificationArgs{
    			UserId:               pulumi.Int(1),
    			BundleId:             pulumi.Int(1),
    			NotifyUserId:         pulumi.Int(1),
    			NotifyOnRegistration: pulumi.Bool(true),
    			NotifyOnUpload:       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 exampleBundleNotification = new Filescom.BundleNotification("example_bundle_notification", new()
        {
            UserId = 1,
            BundleId = 1,
            NotifyUserId = 1,
            NotifyOnRegistration = true,
            NotifyOnUpload = true,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.filescom.BundleNotification;
    import com.pulumi.filescom.BundleNotificationArgs;
    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 exampleBundleNotification = new BundleNotification("exampleBundleNotification", BundleNotificationArgs.builder()
                .userId(1)
                .bundleId(1)
                .notifyUserId(1)
                .notifyOnRegistration(true)
                .notifyOnUpload(true)
                .build());
    
        }
    }
    
    resources:
      exampleBundleNotification:
        type: filescom:BundleNotification
        name: example_bundle_notification
        properties:
          userId: 1
          bundleId: 1
          notifyUserId: 1
          notifyOnRegistration: true
          notifyOnUpload: true
    
    pulumi {
      required_providers {
        filescom = {
          source = "pulumi/filescom"
        }
      }
    }
    
    resource "filescom_bundlenotification" "example_bundle_notification" {
      user_id                = 1
      bundle_id              = 1
      notify_user_id         = 1
      notify_on_registration = true
      notify_on_upload       = true
    }
    

    Create BundleNotification Resource

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

    Constructor syntax

    new BundleNotification(name: string, args: BundleNotificationArgs, opts?: CustomResourceOptions);
    @overload
    def BundleNotification(resource_name: str,
                           args: BundleNotificationArgs,
                           opts: Optional[ResourceOptions] = None)
    
    @overload
    def BundleNotification(resource_name: str,
                           opts: Optional[ResourceOptions] = None,
                           bundle_id: Optional[int] = None,
                           notify_on_registration: Optional[bool] = None,
                           notify_on_upload: Optional[bool] = None,
                           notify_user_id: Optional[int] = None,
                           user_id: Optional[int] = None)
    func NewBundleNotification(ctx *Context, name string, args BundleNotificationArgs, opts ...ResourceOption) (*BundleNotification, error)
    public BundleNotification(string name, BundleNotificationArgs args, CustomResourceOptions? opts = null)
    public BundleNotification(String name, BundleNotificationArgs args)
    public BundleNotification(String name, BundleNotificationArgs args, CustomResourceOptions options)
    
    type: filescom:BundleNotification
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    resource "filescom_bundle_notification" "name" {
        # resource properties
    }

    Parameters

    name string
    The unique name of the resource.
    args BundleNotificationArgs
    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 BundleNotificationArgs
    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 BundleNotificationArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args BundleNotificationArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args BundleNotificationArgs
    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 bundleNotificationResource = new Filescom.BundleNotification("bundleNotificationResource", new()
    {
        BundleId = 0,
        NotifyOnRegistration = false,
        NotifyOnUpload = false,
        NotifyUserId = 0,
        UserId = 0,
    });
    
    example, err := filescom.NewBundleNotification(ctx, "bundleNotificationResource", &filescom.BundleNotificationArgs{
    	BundleId:             pulumi.Int(0),
    	NotifyOnRegistration: pulumi.Bool(false),
    	NotifyOnUpload:       pulumi.Bool(false),
    	NotifyUserId:         pulumi.Int(0),
    	UserId:               pulumi.Int(0),
    })
    
    resource "filescom_bundle_notification" "bundleNotificationResource" {
      lifecycle {
        create_before_destroy = true
      }
      bundle_id              = 0
      notify_on_registration = false
      notify_on_upload       = false
      notify_user_id         = 0
      user_id                = 0
    }
    
    var bundleNotificationResource = new BundleNotification("bundleNotificationResource", BundleNotificationArgs.builder()
        .bundleId(0)
        .notifyOnRegistration(false)
        .notifyOnUpload(false)
        .notifyUserId(0)
        .userId(0)
        .build());
    
    bundle_notification_resource = filescom.BundleNotification("bundleNotificationResource",
        bundle_id=0,
        notify_on_registration=False,
        notify_on_upload=False,
        notify_user_id=0,
        user_id=0)
    
    const bundleNotificationResource = new filescom.BundleNotification("bundleNotificationResource", {
        bundleId: 0,
        notifyOnRegistration: false,
        notifyOnUpload: false,
        notifyUserId: 0,
        userId: 0,
    });
    
    type: filescom:BundleNotification
    properties:
        bundleId: 0
        notifyOnRegistration: false
        notifyOnUpload: false
        notifyUserId: 0
        userId: 0
    

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

    BundleId int
    Bundle ID to notify on
    NotifyOnRegistration bool
    Triggers bundle notification when a registration action occurs for it.
    NotifyOnUpload bool
    Triggers bundle notification when a upload action occurs for it.
    NotifyUserId int
    The id of the user to notify.
    UserId int
    NOTE: This field is write-only and its value will not be updated in state as part of read operations. User ID. Provide a value of 0 to operate the current session's user.
    BundleId int
    Bundle ID to notify on
    NotifyOnRegistration bool
    Triggers bundle notification when a registration action occurs for it.
    NotifyOnUpload bool
    Triggers bundle notification when a upload action occurs for it.
    NotifyUserId int
    The id of the user to notify.
    UserId int
    NOTE: This field is write-only and its value will not be updated in state as part of read operations. User ID. Provide a value of 0 to operate the current session's user.
    bundle_id number
    Bundle ID to notify on
    notify_on_registration bool
    Triggers bundle notification when a registration action occurs for it.
    notify_on_upload bool
    Triggers bundle notification when a upload action occurs for it.
    notify_user_id number
    The id of the user to notify.
    user_id number
    NOTE: This field is write-only and its value will not be updated in state as part of read operations. User ID. Provide a value of 0 to operate the current session's user.
    bundleId Integer
    Bundle ID to notify on
    notifyOnRegistration Boolean
    Triggers bundle notification when a registration action occurs for it.
    notifyOnUpload Boolean
    Triggers bundle notification when a upload action occurs for it.
    notifyUserId Integer
    The id of the user to notify.
    userId Integer
    NOTE: This field is write-only and its value will not be updated in state as part of read operations. User ID. Provide a value of 0 to operate the current session's user.
    bundleId number
    Bundle ID to notify on
    notifyOnRegistration boolean
    Triggers bundle notification when a registration action occurs for it.
    notifyOnUpload boolean
    Triggers bundle notification when a upload action occurs for it.
    notifyUserId number
    The id of the user to notify.
    userId number
    NOTE: This field is write-only and its value will not be updated in state as part of read operations. User ID. Provide a value of 0 to operate the current session's user.
    bundle_id int
    Bundle ID to notify on
    notify_on_registration bool
    Triggers bundle notification when a registration action occurs for it.
    notify_on_upload bool
    Triggers bundle notification when a upload action occurs for it.
    notify_user_id int
    The id of the user to notify.
    user_id int
    NOTE: This field is write-only and its value will not be updated in state as part of read operations. User ID. Provide a value of 0 to operate the current session's user.
    bundleId Number
    Bundle ID to notify on
    notifyOnRegistration Boolean
    Triggers bundle notification when a registration action occurs for it.
    notifyOnUpload Boolean
    Triggers bundle notification when a upload action occurs for it.
    notifyUserId Number
    The id of the user to notify.
    userId Number
    NOTE: This field is write-only and its value will not be updated in state as part of read operations. User ID. Provide a value of 0 to operate the current session's user.

    Outputs

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

    Id string
    The provider-assigned unique ID for this managed resource.
    NotifyCurrentUser bool
    Is the current user the user to notify?
    WorkspaceId int
    Workspace ID. 0 means the default workspace.
    Id string
    The provider-assigned unique ID for this managed resource.
    NotifyCurrentUser bool
    Is the current user the user to notify?
    WorkspaceId int
    Workspace ID. 0 means the default workspace.
    id string
    The provider-assigned unique ID for this managed resource.
    notify_current_user bool
    Is the current user the user to notify?
    workspace_id number
    Workspace ID. 0 means the default workspace.
    id String
    The provider-assigned unique ID for this managed resource.
    notifyCurrentUser Boolean
    Is the current user the user to notify?
    workspaceId Integer
    Workspace ID. 0 means the default workspace.
    id string
    The provider-assigned unique ID for this managed resource.
    notifyCurrentUser boolean
    Is the current user the user to notify?
    workspaceId number
    Workspace ID. 0 means the default workspace.
    id str
    The provider-assigned unique ID for this managed resource.
    notify_current_user bool
    Is the current user the user to notify?
    workspace_id int
    Workspace ID. 0 means the default workspace.
    id String
    The provider-assigned unique ID for this managed resource.
    notifyCurrentUser Boolean
    Is the current user the user to notify?
    workspaceId Number
    Workspace ID. 0 means the default workspace.

    Look up Existing BundleNotification Resource

    Get an existing BundleNotification 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?: BundleNotificationState, opts?: CustomResourceOptions): BundleNotification
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            bundle_id: Optional[int] = None,
            notify_current_user: Optional[bool] = None,
            notify_on_registration: Optional[bool] = None,
            notify_on_upload: Optional[bool] = None,
            notify_user_id: Optional[int] = None,
            user_id: Optional[int] = None,
            workspace_id: Optional[int] = None) -> BundleNotification
    func GetBundleNotification(ctx *Context, name string, id IDInput, state *BundleNotificationState, opts ...ResourceOption) (*BundleNotification, error)
    public static BundleNotification Get(string name, Input<string> id, BundleNotificationState? state, CustomResourceOptions? opts = null)
    public static BundleNotification get(String name, Output<String> id, BundleNotificationState state, CustomResourceOptions options)
    resources:  _:    type: filescom:BundleNotification    get:      id: ${id}
    import {
      to = filescom_bundle_notification.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:
    BundleId int
    Bundle ID to notify on
    NotifyCurrentUser bool
    Is the current user the user to notify?
    NotifyOnRegistration bool
    Triggers bundle notification when a registration action occurs for it.
    NotifyOnUpload bool
    Triggers bundle notification when a upload action occurs for it.
    NotifyUserId int
    The id of the user to notify.
    UserId int
    NOTE: This field is write-only and its value will not be updated in state as part of read operations. User ID. Provide a value of 0 to operate the current session's user.
    WorkspaceId int
    Workspace ID. 0 means the default workspace.
    BundleId int
    Bundle ID to notify on
    NotifyCurrentUser bool
    Is the current user the user to notify?
    NotifyOnRegistration bool
    Triggers bundle notification when a registration action occurs for it.
    NotifyOnUpload bool
    Triggers bundle notification when a upload action occurs for it.
    NotifyUserId int
    The id of the user to notify.
    UserId int
    NOTE: This field is write-only and its value will not be updated in state as part of read operations. User ID. Provide a value of 0 to operate the current session's user.
    WorkspaceId int
    Workspace ID. 0 means the default workspace.
    bundle_id number
    Bundle ID to notify on
    notify_current_user bool
    Is the current user the user to notify?
    notify_on_registration bool
    Triggers bundle notification when a registration action occurs for it.
    notify_on_upload bool
    Triggers bundle notification when a upload action occurs for it.
    notify_user_id number
    The id of the user to notify.
    user_id number
    NOTE: This field is write-only and its value will not be updated in state as part of read operations. User ID. Provide a value of 0 to operate the current session's user.
    workspace_id number
    Workspace ID. 0 means the default workspace.
    bundleId Integer
    Bundle ID to notify on
    notifyCurrentUser Boolean
    Is the current user the user to notify?
    notifyOnRegistration Boolean
    Triggers bundle notification when a registration action occurs for it.
    notifyOnUpload Boolean
    Triggers bundle notification when a upload action occurs for it.
    notifyUserId Integer
    The id of the user to notify.
    userId Integer
    NOTE: This field is write-only and its value will not be updated in state as part of read operations. User ID. Provide a value of 0 to operate the current session's user.
    workspaceId Integer
    Workspace ID. 0 means the default workspace.
    bundleId number
    Bundle ID to notify on
    notifyCurrentUser boolean
    Is the current user the user to notify?
    notifyOnRegistration boolean
    Triggers bundle notification when a registration action occurs for it.
    notifyOnUpload boolean
    Triggers bundle notification when a upload action occurs for it.
    notifyUserId number
    The id of the user to notify.
    userId number
    NOTE: This field is write-only and its value will not be updated in state as part of read operations. User ID. Provide a value of 0 to operate the current session's user.
    workspaceId number
    Workspace ID. 0 means the default workspace.
    bundle_id int
    Bundle ID to notify on
    notify_current_user bool
    Is the current user the user to notify?
    notify_on_registration bool
    Triggers bundle notification when a registration action occurs for it.
    notify_on_upload bool
    Triggers bundle notification when a upload action occurs for it.
    notify_user_id int
    The id of the user to notify.
    user_id int
    NOTE: This field is write-only and its value will not be updated in state as part of read operations. User ID. Provide a value of 0 to operate the current session's user.
    workspace_id int
    Workspace ID. 0 means the default workspace.
    bundleId Number
    Bundle ID to notify on
    notifyCurrentUser Boolean
    Is the current user the user to notify?
    notifyOnRegistration Boolean
    Triggers bundle notification when a registration action occurs for it.
    notifyOnUpload Boolean
    Triggers bundle notification when a upload action occurs for it.
    notifyUserId Number
    The id of the user to notify.
    userId Number
    NOTE: This field is write-only and its value will not be updated in state as part of read operations. User ID. Provide a value of 0 to operate the current session's user.
    workspaceId Number
    Workspace ID. 0 means the default workspace.

    Import

    The pulumi import command can be used, for example:

    Bundle Notifications can be imported by specifying the id.

    $ pulumi import filescom:index/bundleNotification:BundleNotification example_bundle_notification 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