class Aws::DynamoDB::Types::CreateGlobalSecondaryIndexAction
@see docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/CreateGlobalSecondaryIndexAction AWS API Documentation
@return [Types::ProvisionedThroughput]<br>: docs.aws.amazon.com/amazondynamodb/latest/developerguide/Limits.html<br><br><br><br>[Limits][1] in the *Amazon DynamoDB Developer Guide*.
For current minimum and maximum provisioned throughput values, see
global secondary index.
Represents the provisioned throughput settings for the specified
@!attribute [rw] provisioned_throughput
@return [Types::Projection]
and index key attributes, which are automatically projected.
into an index. These are in addition to the primary key attributes
Represents attributes that are copied (projected) from the table
@!attribute [rw] projection
@return [Array<Types::KeySchemaElement>]
The key schema for the global secondary index.
@!attribute [rw] key_schema
@return [String]
The name of the global secondary index to be created.
@!attribute [rw] index_name
}
},
write_capacity_units: 1, # required
read_capacity_units: 1, # required
provisioned_throughput: { # required
},
non_key_attributes: [“NonKeyAttributeName”],
projection_type: “ALL”, # accepts ALL, KEYS_ONLY, INCLUDE
projection: { # required
],
},
key_type: “HASH”, # required, accepts HASH, RANGE
attribute_name: “KeySchemaAttributeName”, # required
{
key_schema: [ # required
index_name: “IndexName”, # required
{
data as a hash:
@note When making an API call, you may pass CreateGlobalSecondaryIndexAction
table.
Represents a new global secondary index to be added to an existing