Skip to content
v2.273.0

PointInTimeRecoverySpecificationProperty Struct ​

Represents the settings used to enable point in time recovery.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_dynamodb as dynamodb } from 'aws-cdk-lib';
const pointInTimeRecoverySpecificationProperty: dynamodb.CfnGlobalTable.PointInTimeRecoverySpecificationProperty = {
  pointInTimeRecoveryEnabled: false,
  recoveryPeriodInDays: 123,
};

Properties ​

pointInTimeRecoveryEnabledboolean | IResolvablepoint_in_time_recovery_enabledtyping.Union[bool, IResolvable]pointInTimeRecoveryEnabledBooleanPointInTimeRecoveryEnabledboolPointInTimeRecoveryEnabledinterface{}#
Indicates whether point in time recovery is enabled (true) or disabled (false) on the table.
recoveryPeriodInDaysnumberrecovery_period_in_daysint | floatrecoveryPeriodInDaysNumberRecoveryPeriodInDaysdoubleRecoveryPeriodInDays*float64#
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. This parameter is optional. If no value is provided, the value will default to 35.