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

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
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,
        },
      },
    ],
  },
  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,
        },
      },
    ],
  },
  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.

Instance Attribute Summary collapse

Instance Attribute Details

#createTypes::CreateReplicationGroupMemberAction

The parameters required for creating a replica for the table.



6659
6660
6661
6662
6663
6664
# File 'lib/aws-sdk-dynamodb/types.rb', line 6659

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

#deleteTypes::DeleteReplicationGroupMemberAction

The parameters required for deleting a replica for the table.



6659
6660
6661
6662
6663
6664
# File 'lib/aws-sdk-dynamodb/types.rb', line 6659

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

#updateTypes::UpdateReplicationGroupMemberAction

The parameters required for updating a replica for the table.



6659
6660
6661
6662
6663
6664
# File 'lib/aws-sdk-dynamodb/types.rb', line 6659

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