Table of Contents

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

BillingMode

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

List<GlobalSecondaryIndex>

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

List<LocalSecondaryIndex>

ProvisionedThroughputOverride

Gets and sets the property ProvisionedThroughputOverride.

Provisioned throughput settings for the restored table.

public ProvisionedThroughput ProvisionedThroughputOverride { get; set; }

Property Value

ProvisionedThroughput

RestoreDateTime

Gets and sets the property RestoreDateTime.

Time in the past to restore the table to.

public DateTime RestoreDateTime { get; set; }

Property Value

DateTime

SSESpecificationOverride

Gets and sets the property SSESpecificationOverride.

The new server-side encryption settings for the restored table.

public SSESpecification SSESpecificationOverride { get; set; }

Property Value

SSESpecification

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

string

SourceTableName

Gets and sets the property SourceTableName.

Name of the source table that is being restored.

public string SourceTableName { get; set; }

Property Value

string

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

string

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; }

Property Value

bool