# PointInTimeRecoverySpecificationProperty

Represents the settings used to enable point in time recovery.

- Source: Generated code
- Type last changed: v2.176.0 · 15 Jan 2025

## 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

- `pointInTimeRecoveryEnabled`: boolean | [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) — Indicates whether point in time recovery is enabled (true) or disabled (false) on the table.

- `recoveryPeriodInDays`: number — 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.
