Skip to content

googleActiveFolder

Get an active folder within GCP by displayName and parent.

Example Usage

/*Provider bindings are generated by running cdktf get.
See https://cdk.tf/provider-generation for more details.*/
import * as google from "./.gen/providers/google";
/*The following providers are missing schema information and might need manual adjustments to synthesize correctly: google.
For a more precise conversion please use the --provider flag in convert.*/
new google.dataGoogleActiveFolder.DataGoogleActiveFolder(this, "department1", {
  display_name: "Department 1",
  parent: "organizations/1234567",
});

Argument Reference

The following arguments are supported:

  • displayName - (Required) The folder's display name.

  • parent - (Required) The resource name of the parent Folder or Organization.

Attributes Reference

In addition to the arguments listed above, the following attributes are exported:

  • name - The resource name of the Folder. This uniquely identifies the folder.