Skip to content

CreateGlobalSecondaryIndexActionDict

Dictionary Type

CreateGlobalSecondaryIndexActionDict

Bases: TypedDict

Dictionary form of CreateGlobalSecondaryIndexAction.

Attributes

index_name instance-attribute
index_name: Required[str]

The name of the global secondary index to be created.

key_schema instance-attribute

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: OnDemandThroughput | OnDemandThroughputDict | None

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

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: ProvisionedThroughput | ProvisionedThroughputDict | None

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: WarmThroughput | WarmThroughputDict | None

Represents the warm throughput value (in read units per second and write units per second) when creating a secondary index.