Class ProjectSinkState


  • public final class ProjectSinkState
    extends com.pulumi.resources.ResourceArgs
    • Method Detail

      • bigqueryOptions

        public java.util.Optional<com.pulumi.core.Output<ProjectSinkBigqueryOptionsArgs>> bigqueryOptions()
        Returns:
        Options that affect sinks exporting data to BigQuery. Structure documented below.
      • description

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> description()
        Returns:
        A description of this sink. The maximum length of the description is 8000 characters.
      • destination

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> destination()
        Returns:
        The destination of the sink (or, in other words, where logs are written to). Can be a Cloud Storage bucket, a PubSub topic, a BigQuery dataset or a Cloud Logging bucket . Examples: - `storage.googleapis.com/[GCS_BUCKET]` - `bigquery.googleapis.com/projects/[PROJECT_ID]/datasets/[DATASET]` - `pubsub.googleapis.com/projects/[PROJECT_ID]/topics/[TOPIC_ID]` - `logging.googleapis.com/projects/[PROJECT_ID]/locations/global/buckets/[BUCKET_ID]` - `logging.googleapis.com/projects/[PROJECT_ID]` The writer associated with the sink must have access to write to the above resource.
      • disabled

        public java.util.Optional<com.pulumi.core.Output<java.lang.Boolean>> disabled()
        Returns:
        If set to True, then this sink is disabled and it does not export any log entries.
      • exclusions

        public java.util.Optional<com.pulumi.core.Output<java.util.List<ProjectSinkExclusionArgs>>> exclusions()
        Returns:
        Log entries that match any of the exclusion filters will not be exported. If a log entry is matched by both `filter` and one of `exclusions.filter`, it will not be exported. Can be repeated multiple times for multiple exclusions. Structure is documented below.
      • filter

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> filter()
        Returns:
        The filter to apply when exporting logs. Only log entries that match the filter are exported. See [Advanced Log Filters](https://cloud.google.com/logging/docs/view/advanced_filters) for information on how to write a filter.
      • name

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> name()
        Returns:
        The name of the logging sink.
      • project

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> project()
        Returns:
        The ID of the project to create the sink in. If omitted, the project associated with the provider is used.
      • uniqueWriterIdentity

        public java.util.Optional<com.pulumi.core.Output<java.lang.Boolean>> uniqueWriterIdentity()
        Returns:
        Whether or not to create a unique identity associated with this sink. If `false` (the default), then the `writer_identity` used is `serviceAccount:[email protected]`. If `true`, then a unique service account is created and used for this sink. If you wish to publish logs across projects or utilize `bigquery_options`, you must set `unique_writer_identity` to true.
      • writerIdentity

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> writerIdentity()
        Returns:
        The identity associated with this sink. This identity must be granted write access to the configured `destination`.