You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Class: Aws::DynamoDB::Types::RestoreTableFromBackupInput
- Inherits:
-
Struct
- Object
- Struct
- Aws::DynamoDB::Types::RestoreTableFromBackupInput
- Defined in:
- (unknown)
Overview
When passing RestoreTableFromBackupInput as input to an Aws::Client method, you can use a vanilla Hash:
{
target_table_name: "TableName", # required
backup_arn: "BackupArn", # required
billing_mode_override: "PROVISIONED", # accepts PROVISIONED, PAY_PER_REQUEST
global_secondary_index_override: [
{
index_name: "IndexName", # required
key_schema: [ # required
{
attribute_name: "KeySchemaAttributeName", # required
key_type: "HASH", # required, accepts HASH, RANGE
},
],
projection: { # required
projection_type: "ALL", # accepts ALL, KEYS_ONLY, INCLUDE
non_key_attributes: ["NonKeyAttributeName"],
},
provisioned_throughput: {
read_capacity_units: 1, # required
write_capacity_units: 1, # required
},
},
],
local_secondary_index_override: [
{
index_name: "IndexName", # required
key_schema: [ # required
{
attribute_name: "KeySchemaAttributeName", # required
key_type: "HASH", # required, accepts HASH, RANGE
},
],
projection: { # required
projection_type: "ALL", # accepts ALL, KEYS_ONLY, INCLUDE
non_key_attributes: ["NonKeyAttributeName"],
},
},
],
provisioned_throughput_override: {
read_capacity_units: 1, # required
write_capacity_units: 1, # required
},
sse_specification_override: {
enabled: false,
sse_type: "AES256", # accepts AES256, KMS
kms_master_key_id: "KMSMasterKeyId",
},
}
Instance Attribute Summary collapse
-
#backup_arn ⇒ String
The Amazon Resource Name (ARN) associated with the backup.
-
#billing_mode_override ⇒ String
The billing mode of the restored table.
-
#global_secondary_index_override ⇒ Array<Types::GlobalSecondaryIndex>
List of global secondary indexes for the restored table.
-
#local_secondary_index_override ⇒ Array<Types::LocalSecondaryIndex>
List of local secondary indexes for the restored table.
-
#provisioned_throughput_override ⇒ Types::ProvisionedThroughput
Provisioned throughput settings for the restored table.
-
#sse_specification_override ⇒ Types::SSESpecification
The new server-side encryption settings for the restored table.
-
#target_table_name ⇒ String
The name of the new table to which the backup must be restored.
Instance Attribute Details
#backup_arn ⇒ String
The Amazon Resource Name (ARN) associated with the backup.
#billing_mode_override ⇒ String
The billing mode of the restored table.
Possible values:
- PROVISIONED
- PAY_PER_REQUEST
#global_secondary_index_override ⇒ Array<Types::GlobalSecondaryIndex>
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.
#local_secondary_index_override ⇒ Array<Types::LocalSecondaryIndex>
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.
#provisioned_throughput_override ⇒ Types::ProvisionedThroughput
Provisioned throughput settings for the restored table.
#sse_specification_override ⇒ Types::SSESpecification
The new server-side encryption settings for the restored table.
#target_table_name ⇒ String
The name of the new table to which the backup must be restored.