Skip to content

DynamoDB  >  Structures  >  GlobalSecondaryIndexUpdate

GlobalSecondaryIndexUpdate

Structure Class

GlobalSecondaryIndexUpdate dataclass

Represents one of the following:

  • A new global secondary index to be added to an existing table.

  • New provisioned throughput parameters for an existing global secondary index.

  • An existing global secondary index to be removed from an existing table.

Attributes

create class-attribute instance-attribute
create: CreateGlobalSecondaryIndexAction | None = None

The parameters required for creating a global secondary index on an existing table:

  • IndexName

  • KeySchema

  • AttributeDefinitions

  • Projection

  • ProvisionedThroughput

delete class-attribute instance-attribute
delete: DeleteGlobalSecondaryIndexAction | None = None

The name of an existing global secondary index to be removed.

update class-attribute instance-attribute
update: UpdateGlobalSecondaryIndexAction | None = None

The name of an existing global secondary index, along with new provisioned throughput settings to be applied to that index.