Class RestoreTableToPointInTimeRequest
- Namespace
- Amazon.DynamoDBv2.Model
- Assembly
- AWSSDK.DynamoDBv2.dll
Container for the parameters to the RestoreTableToPointInTime operation. Restores the specified table to the specified point in time within
EarliestRestorableDateTime
and LatestRestorableDateTime
. You can restore your table to any point
in time during the last 35 days. Any number of users can execute up to 4 concurrent
restores (any type of restore) in a given account.
When you restore using point in time recovery, DynamoDB restores your table data to the state based on the selected date and time (day:hour:minute:second) to a new table.
Along with data, the following are also included on the new restored table using point in time recovery:
Global secondary indexes (GSIs)
Local secondary indexes (LSIs)
Provisioned read and write capacity
Encryption settings
All these settings come from the current settings of the source table at the time of restore.
You must manually set up the following on the restored table:
Auto scaling policies
IAM policies
Amazon CloudWatch metrics and alarms
Tags
Stream settings
Time to Live (TTL) settings
Point in time recovery settings
public class RestoreTableToPointInTimeRequest : AmazonDynamoDBRequest
- Inheritance
-
RestoreTableToPointInTimeRequest
Constructors
RestoreTableToPointInTimeRequest()
public RestoreTableToPointInTimeRequest()
Properties
BillingModeOverride
Gets and sets the property BillingModeOverride.
The billing mode of the restored table.
public BillingMode BillingModeOverride { get; set; }
Property Value
GlobalSecondaryIndexOverride
Gets and sets the property GlobalSecondaryIndexOverride.
List of global secondary indexes for the restored table. The indexes provided should match existing secondary indexes. You can choose to exclude some or all of the indexes at the time of restore.
public List<GlobalSecondaryIndex> GlobalSecondaryIndexOverride { get; set; }
Property Value
LocalSecondaryIndexOverride
Gets and sets the property LocalSecondaryIndexOverride.
List of local secondary indexes for the restored table. The indexes provided should match existing secondary indexes. You can choose to exclude some or all of the indexes at the time of restore.
public List<LocalSecondaryIndex> LocalSecondaryIndexOverride { get; set; }
Property Value
ProvisionedThroughputOverride
Gets and sets the property ProvisionedThroughputOverride.
Provisioned throughput settings for the restored table.
public ProvisionedThroughput ProvisionedThroughputOverride { get; set; }
Property Value
RestoreDateTime
Gets and sets the property RestoreDateTime.
Time in the past to restore the table to.
public DateTime RestoreDateTime { get; set; }
Property Value
SSESpecificationOverride
Gets and sets the property SSESpecificationOverride.
The new server-side encryption settings for the restored table.
public SSESpecification SSESpecificationOverride { get; set; }
Property Value
SourceTableArn
Gets and sets the property SourceTableArn.
The DynamoDB table that will be restored. This value is an Amazon Resource Name (ARN).
public string SourceTableArn { get; set; }
Property Value
SourceTableName
Gets and sets the property SourceTableName.
Name of the source table that is being restored.
public string SourceTableName { get; set; }
Property Value
TargetTableName
Gets and sets the property TargetTableName.
The name of the new table to which it must be restored to.
public string TargetTableName { get; set; }
Property Value
UseLatestRestorableTime
Gets and sets the property UseLatestRestorableTime.
Restore the table to the latest possible time.
LatestRestorableDateTime
is typically 5 minutes before the current time.
public bool UseLatestRestorableTime { get; set; }