Class: Aws::DynamoDB::Types::ReplicationGroupUpdate

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-dynamodb/lib/aws-sdk-dynamodb/types.rb

Overview

Note:

When making an API call, you may pass ReplicationGroupUpdate data as a hash:

{
  create: {
    region_name: "RegionName", # required
    kms_master_key_id: "KMSMasterKeyId",
    provisioned_throughput_override: {
      read_capacity_units: 1,
    },
    global_secondary_indexes: [
      {
        index_name: "IndexName", # required
        provisioned_throughput_override: {
          read_capacity_units: 1,
        },
      },
    ],
    table_class_override: "STANDARD", # accepts STANDARD, STANDARD_INFREQUENT_ACCESS
  },
  update: {
    region_name: "RegionName", # required
    kms_master_key_id: "KMSMasterKeyId",
    provisioned_throughput_override: {
      read_capacity_units: 1,
    },
    global_secondary_indexes: [
      {
        index_name: "IndexName", # required
        provisioned_throughput_override: {
          read_capacity_units: 1,
        },
      },
    ],
    table_class_override: "STANDARD", # accepts STANDARD, STANDARD_INFREQUENT_ACCESS
  },
  delete: {
    region_name: "RegionName", # required
  },
}

Represents one of the following:

  • A new replica to be added to an existing regional table or global table. This request invokes the CreateTableReplica action in the destination Region.

  • New parameters for an existing replica. This request invokes the UpdateTable action in the destination Region.

  • An existing replica to be deleted. The request invokes the DeleteTableReplica action in the destination Region, deleting the replica and all if its items in the destination Region.

When you manually remove a table or global table replica, you do not automatically remove any associated scalable targets, scaling policies, or CloudWatch alarms.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#createTypes::CreateReplicationGroupMemberAction

The parameters required for creating a replica for the table.



8227
8228
8229
8230
8231
8232
8233
# File 'gems/aws-sdk-dynamodb/lib/aws-sdk-dynamodb/types.rb', line 8227

class ReplicationGroupUpdate < Struct.new(
  :create,
  :update,
  :delete)
  SENSITIVE = []
  include Aws::Structure
end

#deleteTypes::DeleteReplicationGroupMemberAction

The parameters required for deleting a replica for the table.



8227
8228
8229
8230
8231
8232
8233
# File 'gems/aws-sdk-dynamodb/lib/aws-sdk-dynamodb/types.rb', line 8227

class ReplicationGroupUpdate < Struct.new(
  :create,
  :update,
  :delete)
  SENSITIVE = []
  include Aws::Structure
end

#updateTypes::UpdateReplicationGroupMemberAction

The parameters required for updating a replica for the table.



8227
8228
8229
8230
8231
8232
8233
# File 'gems/aws-sdk-dynamodb/lib/aws-sdk-dynamodb/types.rb', line 8227

class ReplicationGroupUpdate < Struct.new(
  :create,
  :update,
  :delete)
  SENSITIVE = []
  include Aws::Structure
end