Skip to content

googleStorageBucket

Gets an existing bucket in Google Cloud Storage service (GCS). See the official documentation and API.

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.dataGoogleStorageBucket.DataGoogleStorageBucket(this, "my-bucket", {
  name: "my-bucket",
});

Argument Reference

The following arguments are supported:

  • name - (Required) The name of the bucket.

Attributes Reference

See google_storage_bucket resource for details of the available attributes.