google_storage_notification

Nivis Nix constructor for the google_storage_notification resource (provider google). This reference is derived from the provider binary's own schema via nivis gen — it always matches the real provider.

Constructor
{
  name,
  bucket,
  payload_format,
  topic,
  custom_attributes ? null,
  event_types ? null,
  object_name_prefix ? null,
  overrides ? {}
}
Required arguments
  • bucket
  • payload_format
  • topic
Optional arguments
  • custom_attributes (defaults to null)
  • event_types (defaults to null)
  • object_name_prefix (defaults to null)
Computed outputs

Read these from the resource's refAttr:

  • id
  • notification_id
  • self_link
Example
google_storage_notification {
  name = "storage_notification";
  bucket = …;  # required
  payload_format = …;  # required
  topic = …;  # required
}

The reference for every provider is generated from the provider's own schema, not copied from its documentation.