1. Registry
  2. Packages
  3. Files.com
  4. API Docs
  5. Style
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 Style is a custom set of branding that can be applied on a per-folder basis.

    Currently these support a logo per folder and an optional click-through URL for public visitors.

    In the future we may extend these to also support colors.

    If you want to see that, please let us know so we can add your vote to the list.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as filescom from "pulumi-filescom";
    
    const exampleStyle = new filescom.Style("example_style", {
        path: "path",
        logoClickHref: "https://www.example.com",
    });
    
    import pulumi
    import pulumi_filescom as filescom
    
    example_style = filescom.Style("example_style",
        path="path",
        logo_click_href="https://www.example.com")
    
    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.NewStyle(ctx, "example_style", &filescom.StyleArgs{
    			Path:          pulumi.String("path"),
    			LogoClickHref: pulumi.String("https://www.example.com"),
    		})
    		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 exampleStyle = new Filescom.Style("example_style", new()
        {
            Path = "path",
            LogoClickHref = "https://www.example.com",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.filescom.Style;
    import com.pulumi.filescom.StyleArgs;
    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 exampleStyle = new Style("exampleStyle", StyleArgs.builder()
                .path("path")
                .logoClickHref("https://www.example.com")
                .build());
    
        }
    }
    
    resources:
      exampleStyle:
        type: filescom:Style
        name: example_style
        properties:
          path: path
          logoClickHref: https://www.example.com
    
    pulumi {
      required_providers {
        filescom = {
          source = "pulumi/filescom"
        }
      }
    }
    
    resource "filescom_style" "example_style" {
      path            = "path"
      logo_click_href = "https://www.example.com"
    }
    

    Create Style Resource

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

    Constructor syntax

    new Style(name: string, args: StyleArgs, opts?: CustomResourceOptions);
    @overload
    def Style(resource_name: str,
              args: StyleArgs,
              opts: Optional[ResourceOptions] = None)
    
    @overload
    def Style(resource_name: str,
              opts: Optional[ResourceOptions] = None,
              path: Optional[str] = None,
              logo_click_href: Optional[str] = None)
    func NewStyle(ctx *Context, name string, args StyleArgs, opts ...ResourceOption) (*Style, error)
    public Style(string name, StyleArgs args, CustomResourceOptions? opts = null)
    public Style(String name, StyleArgs args)
    public Style(String name, StyleArgs args, CustomResourceOptions options)
    
    type: filescom:Style
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    resource "filescom_style" "name" {
        # resource properties
    }

    Parameters

    name string
    The unique name of the resource.
    args StyleArgs
    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 StyleArgs
    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 StyleArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args StyleArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args StyleArgs
    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 styleResource = new Filescom.Style("styleResource", new()
    {
        Path = "string",
        LogoClickHref = "string",
    });
    
    example, err := filescom.NewStyle(ctx, "styleResource", &filescom.StyleArgs{
    	Path:          pulumi.String("string"),
    	LogoClickHref: pulumi.String("string"),
    })
    
    resource "filescom_style" "styleResource" {
      lifecycle {
        create_before_destroy = true
      }
      path            = "string"
      logo_click_href = "string"
    }
    
    var styleResource = new Style("styleResource", StyleArgs.builder()
        .path("string")
        .logoClickHref("string")
        .build());
    
    style_resource = filescom.Style("styleResource",
        path="string",
        logo_click_href="string")
    
    const styleResource = new filescom.Style("styleResource", {
        path: "string",
        logoClickHref: "string",
    });
    
    type: filescom:Style
    properties:
        logoClickHref: string
        path: string
    

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

    Path string
    Folder path. This must be slash-delimited, but it must neither start nor end with a slash. Maximum of 5000 characters.
    LogoClickHref string
    URL to open when a public visitor clicks the logo
    Path string
    Folder path. This must be slash-delimited, but it must neither start nor end with a slash. Maximum of 5000 characters.
    LogoClickHref string
    URL to open when a public visitor clicks the logo
    path string
    Folder path. This must be slash-delimited, but it must neither start nor end with a slash. Maximum of 5000 characters.
    logo_click_href string
    URL to open when a public visitor clicks the logo
    path String
    Folder path. This must be slash-delimited, but it must neither start nor end with a slash. Maximum of 5000 characters.
    logoClickHref String
    URL to open when a public visitor clicks the logo
    path string
    Folder path. This must be slash-delimited, but it must neither start nor end with a slash. Maximum of 5000 characters.
    logoClickHref string
    URL to open when a public visitor clicks the logo
    path str
    Folder path. This must be slash-delimited, but it must neither start nor end with a slash. Maximum of 5000 characters.
    logo_click_href str
    URL to open when a public visitor clicks the logo
    path String
    Folder path. This must be slash-delimited, but it must neither start nor end with a slash. Maximum of 5000 characters.
    logoClickHref String
    URL to open when a public visitor clicks the logo

    Outputs

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

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

    Look up Existing Style Resource

    Get an existing Style 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?: StyleState, opts?: CustomResourceOptions): Style
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            logo: Optional[str] = None,
            logo_click_href: Optional[str] = None,
            path: Optional[str] = None,
            thumbnail: Optional[str] = None) -> Style
    func GetStyle(ctx *Context, name string, id IDInput, state *StyleState, opts ...ResourceOption) (*Style, error)
    public static Style Get(string name, Input<string> id, StyleState? state, CustomResourceOptions? opts = null)
    public static Style get(String name, Output<String> id, StyleState state, CustomResourceOptions options)
    resources:  _:    type: filescom:Style    get:      id: ${id}
    import {
      to = filescom_style.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:
    Logo string
    Logo
    LogoClickHref string
    URL to open when a public visitor clicks the logo
    Path string
    Folder path. This must be slash-delimited, but it must neither start nor end with a slash. Maximum of 5000 characters.
    Thumbnail string
    Logo thumbnail
    Logo string
    Logo
    LogoClickHref string
    URL to open when a public visitor clicks the logo
    Path string
    Folder path. This must be slash-delimited, but it must neither start nor end with a slash. Maximum of 5000 characters.
    Thumbnail string
    Logo thumbnail
    logo string
    Logo
    logo_click_href string
    URL to open when a public visitor clicks the logo
    path string
    Folder path. This must be slash-delimited, but it must neither start nor end with a slash. Maximum of 5000 characters.
    thumbnail string
    Logo thumbnail
    logo String
    Logo
    logoClickHref String
    URL to open when a public visitor clicks the logo
    path String
    Folder path. This must be slash-delimited, but it must neither start nor end with a slash. Maximum of 5000 characters.
    thumbnail String
    Logo thumbnail
    logo string
    Logo
    logoClickHref string
    URL to open when a public visitor clicks the logo
    path string
    Folder path. This must be slash-delimited, but it must neither start nor end with a slash. Maximum of 5000 characters.
    thumbnail string
    Logo thumbnail
    logo str
    Logo
    logo_click_href str
    URL to open when a public visitor clicks the logo
    path str
    Folder path. This must be slash-delimited, but it must neither start nor end with a slash. Maximum of 5000 characters.
    thumbnail str
    Logo thumbnail
    logo String
    Logo
    logoClickHref String
    URL to open when a public visitor clicks the logo
    path String
    Folder path. This must be slash-delimited, but it must neither start nor end with a slash. Maximum of 5000 characters.
    thumbnail String
    Logo thumbnail

    Import

    The pulumi import command can be used, for example:

    Styles can be imported by specifying the path.

    $ pulumi import filescom:index/style:Style example_style path
    

    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