class Aws::DynamoDB::Types::CreateGlobalSecondaryIndexAction
Represents a new global secondary index to be added to an existing table.
@note When making an API call, you may pass CreateGlobalSecondaryIndexAction
data as a hash: { 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 }, }
@!attribute [rw] index_name
The name of the global secondary index to be created. @return [String]
@!attribute [rw] key_schema
The key schema for the global secondary index. @return [Array<Types::KeySchemaElement>]
@!attribute [rw] projection
Represents attributes that are copied (projected) from the table into an index. These are in addition to the primary key attributes and index key attributes, which are automatically projected. @return [Types::Projection]
@!attribute [rw] provisioned_throughput
Represents the provisioned throughput settings for the specified global secondary index. For current minimum and maximum provisioned throughput values, see [Service, Account, and Table Quotas][1] in the *Amazon DynamoDB Developer Guide*. [1]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Limits.html @return [Types::ProvisionedThroughput]
@see docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/CreateGlobalSecondaryIndexAction AWS API Documentation
Constants
- SENSITIVE