AWSDynamoDBCreateGlobalSecondaryIndexAction

Objective-C

@interface AWSDynamoDBCreateGlobalSecondaryIndexAction

Swift

class AWSDynamoDBCreateGlobalSecondaryIndexAction

Represents a new global secondary index to be added to an existing table.

Required parameters: [IndexName, KeySchema, Projection]

  • The name of the global secondary index to be created.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *_Nullable indexName;

    Swift

    var indexName: String? { get set }
  • The key schema for the global secondary index.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSArray<AWSDynamoDBKeySchemaElement *> *_Nullable keySchema;

    Swift

    var keySchema: [AWSDynamoDBKeySchemaElement]? { get set }
  • 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.

    Declaration

    Objective-C

    @property (nonatomic, strong) AWSDynamoDBOnDemandThroughput *_Nullable onDemandThroughput;

    Swift

    var onDemandThroughput: AWSDynamoDBOnDemandThroughput? { get set }
  • 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.

    Declaration

    Objective-C

    @property (nonatomic, strong) AWSDynamoDBProjection *_Nullable projection;

    Swift

    var projection: AWSDynamoDBProjection? { get set }
  • 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.

    Declaration

    Objective-C

    @property (nonatomic, strong) AWSDynamoDBProvisionedThroughput *_Nullable provisionedThroughput;

    Swift

    var provisionedThroughput: AWSDynamoDBProvisionedThroughput? { get set }