ProjectSinkState constructor

const ProjectSinkState({
  1. Input<ProjectSinkBigqueryOptions?>? bigqueryOptions,
  2. Input<String?>? customWriterIdentity,
  3. Input<String?>? deletionPolicy,
  4. Input<String?>? description,
  5. Input<String?>? destination,
  6. Input<bool?>? disabled,
  7. Input<List<ProjectSinkExclusion>?>? exclusions,
  8. Input<String?>? filter,
  9. Input<String?>? name,
  10. Input<String?>? project,
  11. Input<bool?>? uniqueWriterIdentity,
  12. Input<String?>? writerIdentity,
})

Creates a new ProjectSinkState. bigqueryOptions Options that affect sinks exporting data to BigQuery. Structure documented below. customWriterIdentity A user managed service account that will be used to write deletionPolicy Whether Terraform will be prevented from destroying the resource. Defaults to "DELETE". description A description of this sink. The maximum length of the description is 8000 characters. destination 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, a Cloud Logging bucket, or a Google Cloud project. Examples: disabled If set to True, then this sink is disabled and it does not export any log entries. exclusions 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 The filter to apply when exporting logs. Only log entries that match the filter are exported. name The name of the logging sink. Logging automatically creates two sinks: _Required and _Default. project The ID of the project to create the sink in. If omitted, the project associated with the provider is uniqueWriterIdentity Whether to use a service agent as the writerIdentity for this sink. If false, writerIdentity The identity associated with this sink. This identity must be granted write access to the

Implementation

const ProjectSinkState({
  this.bigqueryOptions,
  this.customWriterIdentity,
  this.deletionPolicy,
  this.description,
  this.destination,
  this.disabled,
  this.exclusions,
  this.filter,
  this.name,
  this.project,
  this.uniqueWriterIdentity,
  this.writerIdentity,
});