PointInTimeRecoverySpecification Struct
Reference to PointInTimeRecovey Specification for continuous backups.
Example
ts
const table = new dynamodb.TableV2(this, 'Table', {
partitionKey: { name: 'pk', type: dynamodb.AttributeType.STRING },
contributorInsightsSpecification: {
enabled: true,
},
tableClass: dynamodb.TableClass.STANDARD_INFREQUENT_ACCESS,
pointInTimeRecoverySpecification: {
pointInTimeRecoveryEnabled: true,
},
});
Properties
pointInTimeRecoveryEnabledbooleanpoint_in_time_recovery_enabledboolpointInTimeRecoveryEnabledBooleanPointInTimeRecoveryEnabledboolPointInTimeRecoveryEnabled*bool= falserequired#Indicates whether point in time recovery is enabled (true) or disabled (false) on the table.
recoveryPeriodInDaysoptionalnumberrecovery_period_in_daysoptionalint | floatrecoveryPeriodInDaysoptionalNumberRecoveryPeriodInDaysoptionaldoubleRecoveryPeriodInDaysoptional*float64= 35#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.