Synced Folder v0.11.1 published on Wednesday, Aug 2, 2023 by Pulumi
synced-folder.GoogleCloudFolder
Explore with Pulumi AI
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?: ComponentResourceOptions);
@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, ComponentResourceOptions? opts = null)
public GoogleCloudFolder(String name, GoogleCloudFolderArgs args)
public GoogleCloudFolder(String name, GoogleCloudFolderArgs args, ComponentResourceOptions 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 ComponentResourceOptions
- 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 ComponentResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args GoogleCloudFolderArgs
- The arguments to resource properties.
- options ComponentResourceOptions
- 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
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The GoogleCloudFolder resource accepts the following input properties:
- Bucket
Name string - The name of the Google Cloud Storage bucket to sync to (e.g.,
my-bucket
ings://my-bucket
). Required. - Path string
- The path (relative or fully-qualified) to the folder containing the files to be synced. Required.
- Disable
Managed boolObject Aliases - Disables adding an alias resource option to managed objects in the bucket.
- 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
.
- Bucket
Name string - The name of the Google Cloud Storage bucket to sync to (e.g.,
my-bucket
ings://my-bucket
). Required. - Path string
- The path (relative or fully-qualified) to the folder containing the files to be synced. Required.
- Disable
Managed boolObject Aliases - Disables adding an alias resource option to managed objects in the bucket.
- 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
.
- bucket
Name String - The name of the Google Cloud Storage bucket to sync to (e.g.,
my-bucket
ings://my-bucket
). Required. - path String
- The path (relative or fully-qualified) to the folder containing the files to be synced. Required.
- disable
Managed BooleanObject Aliases - Disables adding an alias resource option to managed objects in the bucket.
- Boolean
- Include hidden files ("dotfiles") when synchronizing folders. Defaults to
false
. - managed
Objects Boolean - Whether to have Pulumi manage files as individual cloud resources. Defaults to
true
.
- bucket
Name string - The name of the Google Cloud Storage bucket to sync to (e.g.,
my-bucket
ings://my-bucket
). Required. - path string
- The path (relative or fully-qualified) to the folder containing the files to be synced. Required.
- disable
Managed booleanObject Aliases - Disables adding an alias resource option to managed objects in the bucket.
- boolean
- Include hidden files ("dotfiles") when synchronizing folders. Defaults to
false
. - managed
Objects 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
ings://my-bucket
). Required. - path str
- The path (relative or fully-qualified) to the folder containing the files to be synced. Required.
- disable_
managed_ boolobject_ aliases - Disables adding an alias resource option to managed objects in the bucket.
- 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
.
- bucket
Name String - The name of the Google Cloud Storage bucket to sync to (e.g.,
my-bucket
ings://my-bucket
). Required. - path String
- The path (relative or fully-qualified) to the folder containing the files to be synced. Required.
- disable
Managed BooleanObject Aliases - Disables adding an alias resource option to managed objects in the bucket.
- Boolean
- Include hidden files ("dotfiles") when synchronizing folders. Defaults to
false
. - managed
Objects 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