Interface PubsubLiteTopicRetentionConfig

  • All Superinterfaces:
    software.amazon.jsii.JsiiSerializable
    All Known Implementing Classes:
    PubsubLiteTopicRetentionConfig.Jsii$Proxy

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

      • getPerPartitionBytes

        @Stability(Stable)
        @NotNull
        String getPerPartitionBytes()
        The provisioned storage, in bytes, per partition.

        If the number of bytes stored in any of the topic's partitions grows beyond this value, older messages will be dropped to make room for newer ones, regardless of the value of period. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/pubsub_lite_topic#per_partition_bytes PubsubLiteTopic#per_partition_bytes}

      • getPeriod

        @Stability(Stable)
        @Nullable
        default String getPeriod()
        How long a published message is retained.

        If unset, messages will be retained as long as the bytes retained for each partition is below perPartitionBytes. A duration in seconds with up to nine fractional digits, terminated by 's'. Example: "3.5s". Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/pubsub_lite_topic#period PubsubLiteTopic#period}