1. Packages
  2. Synced Folder
  3. API Docs
  4. GoogleCloudFolder
Synced Folder v0.11.1 published on Wednesday, Aug 2, 2023 by Pulumi

synced-folder.GoogleCloudFolder

Explore with Pulumi AI

synced-folder logo
Synced Folder v0.11.1 published on Wednesday, Aug 2, 2023 by Pulumi

    Create GoogleCloudFolder Resource

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

    Constructor syntax

    new GoogleCloudFolder(name: string, args: GoogleCloudFolderArgs, opts?: CustomResourceOptions);
    @overload
    def GoogleCloudFolder(resource_name: str,
                          args: GoogleCloudFolderArgs,
                          opts: Optional[ResourceOptions] = None)
    
    @overload
    def GoogleCloudFolder(resource_name: str,
                          opts: Optional[ResourceOptions] = None,
                          bucket_name: Optional[str] = None,
                          path: Optional[str] = None,
                          disable_managed_object_aliases: Optional[bool] = None,
                          include_hidden_files: Optional[bool] = None,
                          managed_objects: Optional[bool] = None)
    func NewGoogleCloudFolder(ctx *Context, name string, args GoogleCloudFolderArgs, opts ...ResourceOption) (*GoogleCloudFolder, error)
    public GoogleCloudFolder(string name, GoogleCloudFolderArgs args, CustomResourceOptions? opts = null)
    public GoogleCloudFolder(String name, GoogleCloudFolderArgs args)
    public GoogleCloudFolder(String name, GoogleCloudFolderArgs args, CustomResourceOptions options)
    
    type: synced-folder:GoogleCloudFolder
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args GoogleCloudFolderArgs
    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 GoogleCloudFolderArgs
    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 GoogleCloudFolderArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args GoogleCloudFolderArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args GoogleCloudFolderArgs
    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 googleCloudFolderResource = new SyncedFolder.GoogleCloudFolder("googleCloudFolderResource", new()
    {
        BucketName = "string",
        Path = "string",
        DisableManagedObjectAliases = false,
        IncludeHiddenFiles = false,
        ManagedObjects = false,
    });
    
    example, err := syncedfolder.NewGoogleCloudFolder(ctx, "googleCloudFolderResource", &syncedfolder.GoogleCloudFolderArgs{
    	BucketName:                  pulumi.String("string"),
    	Path:                        pulumi.String("string"),
    	DisableManagedObjectAliases: pulumi.Bool(false),
    	IncludeHiddenFiles:          pulumi.Bool(false),
    	ManagedObjects:              pulumi.Bool(false),
    })
    
    var googleCloudFolderResource = new GoogleCloudFolder("googleCloudFolderResource", GoogleCloudFolderArgs.builder()
        .bucketName("string")
        .path("string")
        .disableManagedObjectAliases(false)
        .includeHiddenFiles(false)
        .managedObjects(false)
        .build());
    
    google_cloud_folder_resource = synced_folder.GoogleCloudFolder("googleCloudFolderResource",
        bucket_name="string",
        path="string",
        disable_managed_object_aliases=False,
        include_hidden_files=False,
        managed_objects=False)
    
    const googleCloudFolderResource = new synced_folder.GoogleCloudFolder("googleCloudFolderResource", {
        bucketName: "string",
        path: "string",
        disableManagedObjectAliases: false,
        includeHiddenFiles: false,
        managedObjects: false,
    });
    
    type: synced-folder:GoogleCloudFolder
    properties:
        bucketName: string
        disableManagedObjectAliases: false
        includeHiddenFiles: false
        managedObjects: false
        path: string
    

    GoogleCloudFolder Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    The GoogleCloudFolder resource accepts the following input properties:

    BucketName string
    The name of the Google Cloud Storage bucket to sync to (e.g., my-bucket in gs://my-bucket). Required.
    Path string
    The path (relative or fully-qualified) to the folder containing the files to be synced. Required.
    DisableManagedObjectAliases bool
    Disables adding an alias resource option to managed objects in the bucket.
    IncludeHiddenFiles bool
    Include hidden files ("dotfiles") when synchronizing folders. Defaults to false.
    ManagedObjects bool
    Whether to have Pulumi manage files as individual cloud resources. Defaults to true.
    BucketName string
    The name of the Google Cloud Storage bucket to sync to (e.g., my-bucket in gs://my-bucket). Required.
    Path string
    The path (relative or fully-qualified) to the folder containing the files to be synced. Required.
    DisableManagedObjectAliases bool
    Disables adding an alias resource option to managed objects in the bucket.
    IncludeHiddenFiles bool
    Include hidden files ("dotfiles") when synchronizing folders. Defaults to false.
    ManagedObjects bool
    Whether to have Pulumi manage files as individual cloud resources. Defaults to true.
    bucketName String
    The name of the Google Cloud Storage bucket to sync to (e.g., my-bucket in gs://my-bucket). Required.
    path String
    The path (relative or fully-qualified) to the folder containing the files to be synced. Required.
    disableManagedObjectAliases Boolean
    Disables adding an alias resource option to managed objects in the bucket.
    includeHiddenFiles Boolean
    Include hidden files ("dotfiles") when synchronizing folders. Defaults to false.
    managedObjects Boolean
    Whether to have Pulumi manage files as individual cloud resources. Defaults to true.
    bucketName string
    The name of the Google Cloud Storage bucket to sync to (e.g., my-bucket in gs://my-bucket). Required.
    path string
    The path (relative or fully-qualified) to the folder containing the files to be synced. Required.
    disableManagedObjectAliases boolean
    Disables adding an alias resource option to managed objects in the bucket.
    includeHiddenFiles boolean
    Include hidden files ("dotfiles") when synchronizing folders. Defaults to false.
    managedObjects boolean
    Whether to have Pulumi manage files as individual cloud resources. Defaults to true.
    bucket_name str
    The name of the Google Cloud Storage bucket to sync to (e.g., my-bucket in gs://my-bucket). Required.
    path str
    The path (relative or fully-qualified) to the folder containing the files to be synced. Required.
    disable_managed_object_aliases bool
    Disables adding an alias resource option to managed objects in the bucket.
    include_hidden_files bool
    Include hidden files ("dotfiles") when synchronizing folders. Defaults to false.
    managed_objects bool
    Whether to have Pulumi manage files as individual cloud resources. Defaults to true.
    bucketName String
    The name of the Google Cloud Storage bucket to sync to (e.g., my-bucket in gs://my-bucket). Required.
    path String
    The path (relative or fully-qualified) to the folder containing the files to be synced. Required.
    disableManagedObjectAliases Boolean
    Disables adding an alias resource option to managed objects in the bucket.
    includeHiddenFiles Boolean
    Include hidden files ("dotfiles") when synchronizing folders. Defaults to false.
    managedObjects Boolean
    Whether to have Pulumi manage files as individual cloud resources. Defaults to true.

    Outputs

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

    Package Details

    Repository
    synced-folder pulumi/pulumi-synced-folder
    License
    synced-folder logo
    Synced Folder v0.11.1 published on Wednesday, Aug 2, 2023 by Pulumi