CreateTableRequest

Represents the input of a CreateTable operation.

Types

Link copied to clipboard
class Builder
Link copied to clipboard
object Companion

Properties

Link copied to clipboard

An array of attributes that describe the key schema for the table and indexes.

Link copied to clipboard

Controls how you are charged for read and write throughput and how you manage capacity. This setting can be changed later.

Link copied to clipboard

Indicates whether deletion protection is to be enabled (true) or disabled (false) on the table.

Link copied to clipboard

One or more global secondary indexes (the maximum is 20) to be created on the table. Each global secondary index in the array includes the following:

Link copied to clipboard

Specifies the attributes that make up the primary key for a table or an index. The attributes in KeySchema must also be defined in the AttributeDefinitions array. For more information, see Data Model in the Amazon DynamoDB Developer Guide.

Link copied to clipboard

One or more local secondary indexes (the maximum is 5) to be created on the table. Each index is scoped to a given partition key value. There is a 10 GB size limit per partition key value; otherwise, the size of a local secondary index is unconstrained.

Link copied to clipboard

Sets the maximum number of read and write units for the specified table in on-demand capacity mode. If you use this parameter, you must specify MaxReadRequestUnits, MaxWriteRequestUnits, or both.

Link copied to clipboard

Represents the provisioned throughput settings for a specified table or index. The settings can be modified using the UpdateTable operation.

Link copied to clipboard

An Amazon Web Services resource-based policy document in JSON format that will be attached to the table.

Link copied to clipboard

Represents the settings used to enable server-side encryption.

Link copied to clipboard

The settings for DynamoDB Streams on the table. These settings consist of:

Link copied to clipboard

The table class of the new table. Valid values are STANDARD and STANDARD_INFREQUENT_ACCESS.

Link copied to clipboard

The name of the table to create. You can also provide the Amazon Resource Name (ARN) of the table in this parameter.

Link copied to clipboard
val tags: List<Tag>?

A list of key-value pairs to label the table. For more information, see Tagging for DynamoDB.

Link copied to clipboard

Represents the warm throughput (in read units per second and write units per second) for creating a table.

Functions

Link copied to clipboard
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String