1. Registry
  2. Packages
  3. Files.com
  4. API Docs
  5. getEventTarget
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 EventTarget is a delivery destination for EventRecords.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as filescom from "pulumi-filescom";
    
    const exampleEventTarget = filescom.getEventTarget({
        id: 1,
    });
    
    import pulumi
    import pulumi_filescom as filescom
    
    example_event_target = filescom.get_event_target(id=1)
    
    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.GetEventTarget(ctx, &filescom.LookupEventTargetArgs{
    			Id: 1,
    		}, nil)
    		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 exampleEventTarget = Filescom.GetEventTarget.Invoke(new()
        {
            Id = 1,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.filescom.FilescomFunctions;
    import com.pulumi.filescom.inputs.GetEventTargetArgs;
    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) {
            final var exampleEventTarget = FilescomFunctions.getEventTarget(GetEventTargetArgs.builder()
                .id(1)
                .build());
    
        }
    }
    
    variables:
      exampleEventTarget:
        fn::invoke:
          function: filescom:getEventTarget
          arguments:
            id: 1
    
    pulumi {
      required_providers {
        filescom = {
          source = "pulumi/filescom"
        }
      }
    }
    
    data "filescom_geteventtarget" "exampleEventTarget" {
      id = 1
    }
    

    Using getEventTarget

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getEventTarget(args: GetEventTargetArgs, opts?: InvokeOptions): Promise<GetEventTargetResult>
    function getEventTargetOutput(args: GetEventTargetOutputArgs, opts?: InvokeOutputOptions): Output<GetEventTargetResult>
    def get_event_target(id: Optional[int] = None,
                         opts: Optional[InvokeOptions] = None) -> GetEventTargetResult
    def get_event_target_output(id: pulumi.Input[Optional[int]] = None,
                         opts: Optional[InvokeOutputOptions] = None) -> Output[GetEventTargetResult]
    func LookupEventTarget(ctx *Context, args *LookupEventTargetArgs, opts ...InvokeOption) (*LookupEventTargetResult, error)
    func LookupEventTargetOutput(ctx *Context, args *LookupEventTargetOutputArgs, opts ...InvokeOption) LookupEventTargetResultOutput

    > Note: This function is named LookupEventTarget in the Go SDK.

    public static class GetEventTarget 
    {
        public static Task<GetEventTargetResult> InvokeAsync(GetEventTargetArgs args, InvokeOptions? opts = null)
        public static Output<GetEventTargetResult> Invoke(GetEventTargetInvokeArgs args, InvokeOptions? opts = null)
        public static Output<GetEventTargetResult> Invoke(GetEventTargetInvokeArgs args, InvokeOutputOptions opts)
    }
    public static CompletableFuture<GetEventTargetResult> getEventTarget(GetEventTargetArgs args, InvokeOptions options)
    public static Output<GetEventTargetResult> getEventTarget(GetEventTargetArgs args, InvokeOptions options)
    public static Output<GetEventTargetResult> getEventTarget(GetEventTargetArgs args, InvokeOutputOptions options)
    
    fn::invoke:
      function: filescom:index/getEventTarget:getEventTarget
      arguments:
        # arguments dictionary
    data "filescom_get_event_target" "name" {
        # arguments
    }

    The following arguments are supported:

    Id int
    Event Target ID
    Id int
    Event Target ID
    id number
    Event Target ID
    id Integer
    Event Target ID
    id number
    Event Target ID
    id int
    Event Target ID
    id Number
    Event Target ID

    getEventTarget Result

    The following output properties are available:

    ApplyToAllWorkspaces bool
    If true, this default-workspace target can receive events from all workspaces.
    Config object
    Event Target configuration. Folder targets accept path and format (json or csv).
    CreatedAt string
    Event Target create date/time.
    DeliveryPolicy object
    Event Target delivery policy. Email and folder targets support batchInterval in seconds, between 600 and 86400.
    Enabled bool
    Whether this Event Target can receive events.
    Id int
    Event Target ID
    Name string
    Event Target name.
    TargetType string
    Event Target type.
    UpdatedAt string
    Event Target update date/time.
    WorkspaceId int
    Workspace ID. 0 means the default workspace or site-wide.
    ApplyToAllWorkspaces bool
    If true, this default-workspace target can receive events from all workspaces.
    Config interface{}
    Event Target configuration. Folder targets accept path and format (json or csv).
    CreatedAt string
    Event Target create date/time.
    DeliveryPolicy interface{}
    Event Target delivery policy. Email and folder targets support batchInterval in seconds, between 600 and 86400.
    Enabled bool
    Whether this Event Target can receive events.
    Id int
    Event Target ID
    Name string
    Event Target name.
    TargetType string
    Event Target type.
    UpdatedAt string
    Event Target update date/time.
    WorkspaceId int
    Workspace ID. 0 means the default workspace or site-wide.
    apply_to_all_workspaces bool
    If true, this default-workspace target can receive events from all workspaces.
    config any
    Event Target configuration. Folder targets accept path and format (json or csv).
    created_at string
    Event Target create date/time.
    delivery_policy any
    Event Target delivery policy. Email and folder targets support batchInterval in seconds, between 600 and 86400.
    enabled bool
    Whether this Event Target can receive events.
    id number
    Event Target ID
    name string
    Event Target name.
    target_type string
    Event Target type.
    updated_at string
    Event Target update date/time.
    workspace_id number
    Workspace ID. 0 means the default workspace or site-wide.
    applyToAllWorkspaces Boolean
    If true, this default-workspace target can receive events from all workspaces.
    config Object
    Event Target configuration. Folder targets accept path and format (json or csv).
    createdAt String
    Event Target create date/time.
    deliveryPolicy Object
    Event Target delivery policy. Email and folder targets support batchInterval in seconds, between 600 and 86400.
    enabled Boolean
    Whether this Event Target can receive events.
    id Integer
    Event Target ID
    name String
    Event Target name.
    targetType String
    Event Target type.
    updatedAt String
    Event Target update date/time.
    workspaceId Integer
    Workspace ID. 0 means the default workspace or site-wide.
    applyToAllWorkspaces boolean
    If true, this default-workspace target can receive events from all workspaces.
    config any
    Event Target configuration. Folder targets accept path and format (json or csv).
    createdAt string
    Event Target create date/time.
    deliveryPolicy any
    Event Target delivery policy. Email and folder targets support batchInterval in seconds, between 600 and 86400.
    enabled boolean
    Whether this Event Target can receive events.
    id number
    Event Target ID
    name string
    Event Target name.
    targetType string
    Event Target type.
    updatedAt string
    Event Target update date/time.
    workspaceId number
    Workspace ID. 0 means the default workspace or site-wide.
    apply_to_all_workspaces bool
    If true, this default-workspace target can receive events from all workspaces.
    config Any
    Event Target configuration. Folder targets accept path and format (json or csv).
    created_at str
    Event Target create date/time.
    delivery_policy Any
    Event Target delivery policy. Email and folder targets support batchInterval in seconds, between 600 and 86400.
    enabled bool
    Whether this Event Target can receive events.
    id int
    Event Target ID
    name str
    Event Target name.
    target_type str
    Event Target type.
    updated_at str
    Event Target update date/time.
    workspace_id int
    Workspace ID. 0 means the default workspace or site-wide.
    applyToAllWorkspaces Boolean
    If true, this default-workspace target can receive events from all workspaces.
    config Any
    Event Target configuration. Folder targets accept path and format (json or csv).
    createdAt String
    Event Target create date/time.
    deliveryPolicy Any
    Event Target delivery policy. Email and folder targets support batchInterval in seconds, between 600 and 86400.
    enabled Boolean
    Whether this Event Target can receive events.
    id Number
    Event Target ID
    name String
    Event Target name.
    targetType String
    Event Target type.
    updatedAt String
    Event Target update date/time.
    workspaceId Number
    Workspace ID. 0 means the default workspace or site-wide.

    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