Class LoggingProjectSinkConfig.Jsii$Proxy
- java.lang.Object
-
- software.amazon.jsii.JsiiObject
-
- com.hashicorp.cdktf.providers.google.logging_project_sink.LoggingProjectSinkConfig.Jsii$Proxy
-
- All Implemented Interfaces:
LoggingProjectSinkConfig,com.hashicorp.cdktf.TerraformMetaArguments,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
- LoggingProjectSinkConfig
@Stability(Stable) @Internal public static final class LoggingProjectSinkConfig.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements LoggingProjectSinkConfig
An implementation forLoggingProjectSinkConfig
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
-
Nested classes/interfaces inherited from interface com.hashicorp.cdktf.providers.google.logging_project_sink.LoggingProjectSinkConfig
LoggingProjectSinkConfig.Builder, LoggingProjectSinkConfig.Jsii$Proxy
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedJsii$Proxy(LoggingProjectSinkConfig.Builder builder)Constructor that initializes the object based on literal property values passed by theLoggingProjectSinkConfig.Builder.protectedJsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)Constructor that initializes the object based on values retrieved from the JsiiObject.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.fasterxml.jackson.databind.JsonNode$jsii$toJson()booleanequals(Object o)LoggingProjectSinkBigqueryOptionsgetBigqueryOptions()bigquery_options block.ObjectgetConnection()ObjectgetCount()StringgetCustomWriterIdentity()A service account provided by the caller that will be used to write the log entries.List<com.hashicorp.cdktf.ITerraformDependable>getDependsOn()StringgetDescription()A description of this sink.StringgetDestination()The destination of the sink (or, in other words, where logs are written to).ObjectgetDisabled()If set to True, then this sink is disabled and it does not export any log entries.ObjectgetExclusions()exclusions block.StringgetFilter()The filter to apply when exporting logs.com.hashicorp.cdktf.ITerraformIteratorgetForEach()StringgetId()Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/logging_project_sink#id LoggingProjectSink#id}.com.hashicorp.cdktf.TerraformResourceLifecyclegetLifecycle()StringgetName()The name of the logging sink.StringgetProject()The ID of the project to create the sink in.com.hashicorp.cdktf.TerraformProvidergetProvider()List<Object>getProvisioners()ObjectgetUniqueWriterIdentity()Whether or not to create a unique identity associated with this sink.inthashCode()
-
-
-
Constructor Detail
-
Jsii$Proxy
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.- Parameters:
objRef- Reference to the JSII managed object.
-
Jsii$Proxy
protected Jsii$Proxy(LoggingProjectSinkConfig.Builder builder)
Constructor that initializes the object based on literal property values passed by theLoggingProjectSinkConfig.Builder.
-
-
Method Detail
-
getDestination
public final String getDestination()
Description copied from interface:LoggingProjectSinkConfigThe destination of the sink (or, in other words, where logs are written to).Can be a Cloud Storage bucket, a PubSub topic, or a BigQuery dataset. Examples: "storage.googleapis.com/[GCS_BUCKET]" "bigquery.googleapis.com/projects/[PROJECT_ID]/datasets/[DATASET]" "pubsub.googleapis.com/projects/[PROJECT_ID]/topics/[TOPIC_ID]" The writer associated with the sink must have access to write to the above resource. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/logging_project_sink#destination LoggingProjectSink#destination}
- Specified by:
getDestinationin interfaceLoggingProjectSinkConfig
-
getName
public final String getName()
Description copied from interface:LoggingProjectSinkConfigThe name of the logging sink.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/logging_project_sink#name LoggingProjectSink#name}
- Specified by:
getNamein interfaceLoggingProjectSinkConfig
-
getBigqueryOptions
public final LoggingProjectSinkBigqueryOptions getBigqueryOptions()
Description copied from interface:LoggingProjectSinkConfigbigquery_options block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/logging_project_sink#bigquery_options LoggingProjectSink#bigquery_options}
- Specified by:
getBigqueryOptionsin interfaceLoggingProjectSinkConfig
-
getCustomWriterIdentity
public final String getCustomWriterIdentity()
Description copied from interface:LoggingProjectSinkConfigA service account provided by the caller that will be used to write the log entries.The format must be serviceAccount:some@email. This field can only be specified if you are routing logs to a destination outside this sink's project. If not specified, a Logging service account will automatically be generated. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/logging_project_sink#custom_writer_identity LoggingProjectSink#custom_writer_identity}
- Specified by:
getCustomWriterIdentityin interfaceLoggingProjectSinkConfig
-
getDescription
public final String getDescription()
Description copied from interface:LoggingProjectSinkConfigA description of this sink. The maximum length of the description is 8000 characters.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/logging_project_sink#description LoggingProjectSink#description}
- Specified by:
getDescriptionin interfaceLoggingProjectSinkConfig
-
getDisabled
public final Object getDisabled()
Description copied from interface:LoggingProjectSinkConfigIf set to True, then this sink is disabled and it does not export any log entries.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/logging_project_sink#disabled LoggingProjectSink#disabled}
- Specified by:
getDisabledin interfaceLoggingProjectSinkConfig
-
getExclusions
public final Object getExclusions()
Description copied from interface:LoggingProjectSinkConfigexclusions block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/logging_project_sink#exclusions LoggingProjectSink#exclusions}
- Specified by:
getExclusionsin interfaceLoggingProjectSinkConfig
-
getFilter
public final String getFilter()
Description copied from interface:LoggingProjectSinkConfigThe filter to apply when exporting logs. Only log entries that match the filter are exported.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/logging_project_sink#filter LoggingProjectSink#filter}
- Specified by:
getFilterin interfaceLoggingProjectSinkConfig
-
getId
public final String getId()
Description copied from interface:LoggingProjectSinkConfigDocs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/logging_project_sink#id LoggingProjectSink#id}.Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2. If you experience problems setting this value it might not be settable. Please take a look at the provider documentation to ensure it should be settable.
- Specified by:
getIdin interfaceLoggingProjectSinkConfig
-
getProject
public final String getProject()
Description copied from interface:LoggingProjectSinkConfigThe ID of the project to create the sink in.If omitted, the project associated with the provider is used. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/logging_project_sink#project LoggingProjectSink#project}
- Specified by:
getProjectin interfaceLoggingProjectSinkConfig
-
getUniqueWriterIdentity
public final Object getUniqueWriterIdentity()
Description copied from interface:LoggingProjectSinkConfigWhether or not to create a unique identity associated with this sink.If false (the legacy behavior), then the writer_identity used is serviceAccount:cloud-logs@system.gserviceaccount.com. If true (default), then a unique service account is created and used for this sink. If you wish to publish logs across projects, you must set unique_writer_identity to true. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/logging_project_sink#unique_writer_identity LoggingProjectSink#unique_writer_identity}
- Specified by:
getUniqueWriterIdentityin interfaceLoggingProjectSinkConfig
-
getConnection
public final Object getConnection()
- Specified by:
getConnectionin interfacecom.hashicorp.cdktf.TerraformMetaArguments
-
getCount
public final Object getCount()
- Specified by:
getCountin interfacecom.hashicorp.cdktf.TerraformMetaArguments
-
getDependsOn
public final List<com.hashicorp.cdktf.ITerraformDependable> getDependsOn()
- Specified by:
getDependsOnin interfacecom.hashicorp.cdktf.TerraformMetaArguments
-
getForEach
public final com.hashicorp.cdktf.ITerraformIterator getForEach()
- Specified by:
getForEachin interfacecom.hashicorp.cdktf.TerraformMetaArguments
-
getLifecycle
public final com.hashicorp.cdktf.TerraformResourceLifecycle getLifecycle()
- Specified by:
getLifecyclein interfacecom.hashicorp.cdktf.TerraformMetaArguments
-
getProvider
public final com.hashicorp.cdktf.TerraformProvider getProvider()
- Specified by:
getProviderin interfacecom.hashicorp.cdktf.TerraformMetaArguments
-
getProvisioners
public final List<Object> getProvisioners()
- Specified by:
getProvisionersin interfacecom.hashicorp.cdktf.TerraformMetaArguments
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
- Specified by:
$jsii$toJsonin interfacesoftware.amazon.jsii.JsiiSerializable
-
-