Interface PointInTimeRecoverySpecification

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

@Generated(value="jsii-pacmak/1.109.0 (build c221850)", date="2025-03-14T03:24:56.611Z") @Stability(Stable) public interface PointInTimeRecoverySpecification extends software.amazon.jsii.JsiiSerializable
Reference to PointInTimeRecovey Specification for continuous backups.

Example:

 TableV2 table = TableV2.Builder.create(this, "Table")
         .partitionKey(Attribute.builder().name("pk").type(AttributeType.STRING).build())
         .contributorInsights(true)
         .tableClass(TableClass.STANDARD_INFREQUENT_ACCESS)
         .pointInTimeRecoverySpecification(PointInTimeRecoverySpecification.builder()
                 .pointInTimeRecoveryEnabled(true)
                 .build())
         .build();
 
  • Method Details

    • getPointInTimeRecoveryEnabled

      @Stability(Stable) @NotNull Boolean getPointInTimeRecoveryEnabled()
      Indicates whether point in time recovery is enabled (true) or disabled (false) on the table.

      Default: false

    • getRecoveryPeriodInDays

      @Stability(Stable) @Nullable default Number getRecoveryPeriodInDays()
      The number of preceding days for which continuous backups are taken and maintained.

      Your table data is only recoverable to any point-in-time from within the configured recovery period. If no value is provided, the value will default to 35.

      Default: 35

    • builder

      @Stability(Stable) static PointInTimeRecoverySpecification.Builder builder()
      Returns:
      a PointInTimeRecoverySpecification.Builder of PointInTimeRecoverySpecification