FolderSinkState class
Input properties used for looking up and filtering FolderSink resources.
Constructors
-
FolderSinkState({Input<
FolderSinkBigqueryOptions?> ? bigqueryOptions, Input<String?> ? deletionPolicy, Input<String?> ? description, Input<String?> ? destination, Input<bool?> ? disabled, Input<List< ? exclusions, Input<FolderSinkExclusion> ?>String?> ? filter, Input<String?> ? folder, Input<bool?> ? includeChildren, Input<bool?> ? interceptChildren, Input<String?> ? name, Input<String?> ? writerIdentity}) -
Creates a new FolderSinkState.
bigqueryOptionsOptions that affect sinks exporting data to BigQuery. Structure documented below.deletionPolicyWhether Terraform will be prevented from destroying the resource. Defaults to "DELETE".descriptionA description of this sink. The maximum length of the description is 8000 characters.destinationThe 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:disabledIf set to True, then this sink is disabled and it does not export any log entries.exclusionsLog entries that match any of the exclusion filters will not be exported. If a log entry is matched by bothfilterand one ofexclusions.filter, it will not be exported. Can be repeated multiple times for multiple exclusions. Structure is documented below.filterThe filter to apply when exporting logs. Only log entries that match the filter are exported.folderThe folder to be exported to the sink. Note that either[FOLDER_ID]orfolders/[FOLDER_ID]isincludeChildrenWhether or not to include children folders in the sink export. If true, logsinterceptChildrenWhether or not to intercept logs from child projects. If true, matching logs will notnameThe name of the logging sink.writerIdentityThe identity associated with this sink. This identity must be granted write access to theconst -
FolderSinkState.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
bigqueryOptions
→ Input<
FolderSinkBigqueryOptions?> ? -
Options that affect sinks exporting data to BigQuery. Structure documented below.
final
-
deletionPolicy
→ Input<
String?> ? -
Whether Terraform will be prevented from destroying the resource. Defaults to "DELETE".
When a 'terraform destroy' or 'pulumi up' would delete the resource,
the command will fail if this field is set to "PREVENT" in Terraform state.
When set to "ABANDON", the command will remove the resource from Terraform
management without updating or deleting the resource in the API.
When set to "DELETE", deleting the resource is allowed.
final
-
description
→ Input<
String?> ? -
A description of this sink. The maximum length of the description is 8000 characters.
final
-
destination
→ Input<
String?> ? -
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:
final
-
disabled
→ Input<
bool?> ? -
If set to True, then this sink is disabled and it does not export any log entries.
final
-
exclusions
→ Input<
List< ?FolderSinkExclusion> ?> -
Log entries that match any of the exclusion filters will not be exported. If a log entry is matched by both
filterand one ofexclusions.filter, it will not be exported. Can be repeated multiple times for multiple exclusions. Structure is documented below.final -
filter
→ Input<
String?> ? -
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.
final
-
folder
→ Input<
String?> ? -
The folder to be exported to the sink. Note that either
[FOLDER_ID]orfolders/[FOLDER_ID]is accepted.final - hashCode → int
-
The hash code for this object.
no setterinherited
-
includeChildren
→ Input<
bool?> ? -
Whether or not to include children folders in the sink export. If true, logs
associated with child projects are also exported; otherwise only logs relating to the provided folder are included.
final
-
interceptChildren
→ Input<
bool?> ? -
Whether or not to intercept logs from child projects. If true, matching logs will not
match with sinks in child resources, except _Required sinks. This sink will be visible to child resources when listing sinks.
final
-
name
→ Input<
String?> ? -
The name of the logging sink.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
writerIdentity
→ Input<
String?> ? -
The identity associated with this sink. This identity must be granted write access to the
configured
destination.final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited