UNPKG

@pulumi/synced-folder

Version:

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

50 lines (49 loc) 2.04 kB
import * as pulumi from "@pulumi/pulumi"; export declare class AzureBlobFolder extends pulumi.ComponentResource { /** * Returns true if the given object is an instance of AzureBlobFolder. 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 AzureBlobFolder; /** * Create a AzureBlobFolder 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: AzureBlobFolderArgs, opts?: pulumi.ComponentResourceOptions); } /** * The set of arguments for constructing a AzureBlobFolder resource. */ export interface AzureBlobFolderArgs { /** * The name of the Azure storage container to sync to. Required. */ containerName: 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>; /** * The name of the Azure resource group that the storage account belongs to. Required. */ resourceGroupName: pulumi.Input<string>; /** * The name of the Azure storage account that the container belongs to. Required. */ storageAccountName: pulumi.Input<string>; }