UNPKG

@pulumi/synced-folder

Version:

A Pulumi component that synchronizes a local folder to Amazon S3, Azure Blob Storage, or Google Cloud Storage.

42 lines (41 loc) 1.79 kB
import * as pulumi from "@pulumi/pulumi"; export declare class GoogleCloudFolder extends pulumi.ComponentResource { /** * Returns true if the given object is an instance of GoogleCloudFolder. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is GoogleCloudFolder; /** * Create a GoogleCloudFolder resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: GoogleCloudFolderArgs, opts?: pulumi.ComponentResourceOptions); } /** * The set of arguments for constructing a GoogleCloudFolder resource. */ export interface GoogleCloudFolderArgs { /** * The name of the Google Cloud Storage bucket to sync to (e.g., `my-bucket` in `gs://my-bucket`). Required. */ bucketName: pulumi.Input<string>; /** * Disables adding an [alias](https://www.pulumi.com/docs/intro/concepts/resources/options/aliases/) resource option to managed objects in the bucket. */ disableManagedObjectAliases?: pulumi.Input<boolean>; /** * Include hidden files ("dotfiles") when synchronizing folders. Defaults to `false`. */ includeHiddenFiles?: pulumi.Input<boolean>; /** * Whether to have Pulumi manage files as individual cloud resources. Defaults to `true`. */ managedObjects?: pulumi.Input<boolean>; /** * The path (relative or fully-qualified) to the folder containing the files to be synced. Required. */ path: pulumi.Input<string>; }