Interface LoggingOrganizationSinkConfig

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

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

      • 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_organization_sink#destination LoggingOrganizationSink#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_organization_sink#name LoggingOrganizationSink#name}

      • getOrgId

        @Stability(Stable)
        @NotNull
        String getOrgId()
        The numeric ID of the organization to be exported to the sink.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/logging_organization_sink#org_id LoggingOrganizationSink#org_id}

      • getBigqueryOptions

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

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/logging_organization_sink#bigquery_options LoggingOrganizationSink#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_organization_sink#description LoggingOrganizationSink#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_organization_sink#disabled LoggingOrganizationSink#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_organization_sink#exclusions LoggingOrganizationSink#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_organization_sink#filter LoggingOrganizationSink#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_organization_sink#id LoggingOrganizationSink#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.

      • getIncludeChildren

        @Stability(Stable)
        @Nullable
        default Object getIncludeChildren()
        Whether or not to include children organizations in the sink export.

        If true, logs associated with child projects are also exported; otherwise only logs relating to the provided organization are included. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/logging_organization_sink#include_children LoggingOrganizationSink#include_children}

      • getInterceptChildren

        @Stability(Stable)
        @Nullable
        default Object getInterceptChildren()
        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. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/logging_organization_sink#intercept_children LoggingOrganizationSink#intercept_children}