Project Sink Args
data class ProjectSinkArgs(val bigqueryOptions: Output<ProjectSinkBigqueryOptionsArgs>? = null, val description: Output<String>? = null, val destination: Output<String>? = null, val disabled: Output<Boolean>? = null, val exclusions: Output<List<ProjectSinkExclusionArgs>>? = null, val filter: Output<String>? = null, val name: Output<String>? = null, val project: Output<String>? = null, val uniqueWriterIdentity: Output<Boolean>? = null) : ConvertibleToJava<ProjectSinkArgs>
Import
Project-level logging sinks can be imported using their URI, e.g.
$ pulumi import gcp:logging/projectSink:ProjectSink my_sink projects/my-project/sinks/my-sink
Content copied to clipboard
Constructors
Link copied to clipboard
fun ProjectSinkArgs(bigqueryOptions: Output<ProjectSinkBigqueryOptionsArgs>? = null, description: Output<String>? = null, destination: Output<String>? = null, disabled: Output<Boolean>? = null, exclusions: Output<List<ProjectSinkExclusionArgs>>? = null, filter: Output<String>? = null, name: Output<String>? = null, project: Output<String>? = null, uniqueWriterIdentity: Output<Boolean>? = null)
Functions
Properties
Link copied to clipboard
The filter to apply when exporting logs. Only log entries that match the filter are exported. See Advanced Log Filters for information on how to write a filter.
Link copied to clipboard
Whether or not to create a unique identity associated with this sink. If false
(the default), then the writer_identity
used is serviceAccount:cloud-logs@system.gserviceaccount.com
. 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.