TableClass

class aws_cdk.aws_dynamodb.TableClass(value)

Bases: Enum

DynamoDB’s table class.

See:

https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/HowItWorks.TableClasses.html

ExampleMetadata:

infused

Example:

table = dynamodb.Table(self, "Table",
    partition_key=dynamodb.Attribute(name="id", type=dynamodb.AttributeType.STRING),
    table_class=dynamodb.TableClass.STANDARD_INFREQUENT_ACCESS
)

Attributes

STANDARD

Default table class for DynamoDB.

STANDARD_INFREQUENT_ACCESS

Table class for DynamoDB that reduces storage costs compared to existing DynamoDB Standard tables.