Interface LoggingBillingAccountSinkConfig

  • All Superinterfaces:
    software.amazon.jsii.JsiiSerializable, com.hashicorp.cdktf.TerraformMetaArguments
    All Known Implementing Classes:
    LoggingBillingAccountSinkConfig.Jsii$Proxy

    @Generated(value="jsii-pacmak/1.102.0 (build e354887)",
               date="2024-08-31T03:59:21.805Z")
    @Stability(Stable)
    public interface LoggingBillingAccountSinkConfig
    extends software.amazon.jsii.JsiiSerializable, com.hashicorp.cdktf.TerraformMetaArguments
    • Method Detail

      • getBillingAccount

        @Stability(Stable)
        @NotNull
        String getBillingAccount()
        The billing account exported to the sink.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/logging_billing_account_sink#billing_account LoggingBillingAccountSink#billing_account}

      • getDestination

        @Stability(Stable)
        @NotNull
        String getDestination()
        The 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_billing_account_sink#destination LoggingBillingAccountSink#destination}

      • getName

        @Stability(Stable)
        @NotNull
        String getName()
        The name of the logging sink.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/logging_billing_account_sink#name LoggingBillingAccountSink#name}

      • getBigqueryOptions

        @Stability(Stable)
        @Nullable
        default LoggingBillingAccountSinkBigqueryOptions getBigqueryOptions()
        bigquery_options block.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/logging_billing_account_sink#bigquery_options LoggingBillingAccountSink#bigquery_options}

      • getDescription

        @Stability(Stable)
        @Nullable
        default String getDescription()
        A 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_billing_account_sink#description LoggingBillingAccountSink#description}

      • getDisabled

        @Stability(Stable)
        @Nullable
        default Object getDisabled()
        If 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_billing_account_sink#disabled LoggingBillingAccountSink#disabled}

      • getExclusions

        @Stability(Stable)
        @Nullable
        default Object getExclusions()
        exclusions block.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/logging_billing_account_sink#exclusions LoggingBillingAccountSink#exclusions}

      • getFilter

        @Stability(Stable)
        @Nullable
        default String getFilter()
        The 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_billing_account_sink#filter LoggingBillingAccountSink#filter}

      • getId

        @Stability(Stable)
        @Nullable
        default String getId()
        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/logging_billing_account_sink#id LoggingBillingAccountSink#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.