Interface StorageBucketSoftDeletePolicy

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

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

      • getRetentionDurationSeconds

        @Stability(Stable)
        @Nullable
        default Number getRetentionDurationSeconds()
        The duration in seconds that soft-deleted objects in the bucket will be retained and cannot be permanently deleted.

        Default value is 604800. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/storage_bucket#retention_duration_seconds StorageBucket#retention_duration_seconds}