CreateGlobalSecondaryIndexAction
¶
Source code in docs_src/capo_dynamodb/types/create_global_secondary_index_action.py
index_name
instance-attribute
¶
index_name: IndexName
The name of the global secondary index to be created.
key_schema
instance-attribute
¶
key_schema: KeySchema
The key schema for the global secondary index. Global secondary index supports up to 4 partition and up to 4 sort keys.
on_demand_throughput
instance-attribute
¶
on_demand_throughput: NotRequired[OnDemandThroughput]
The maximum number of read and write units for the global secondary index being created. If you use this parameter, you must specify MaxReadRequestUnits, MaxWriteRequestUnits, or both. You must use either OnDemand Throughput or ProvisionedThroughput based on your table's capacity mode.
projection
instance-attribute
¶
projection: 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.
provisioned_throughput
instance-attribute
¶
provisioned_throughput: NotRequired[ProvisionedThroughput]
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 in the Amazon DynamoDB Developer Guide.
warm_throughput
instance-attribute
¶
warm_throughput: NotRequired[WarmThroughput]
Represents the warm throughput value (in read units per second and write units per second) when creating a secondary index.