Class: DynamoDbTable

DynamoDbTable(stackName, baseName)

This class represents a DynamoDB table.

Constructor

new DynamoDbTable(stackName, baseName)

Don't call this manually. Use creator function in CloudFormation
Parameters:
Name Type Description
stackName string
baseName string
Source:

Members

tableName

Get the table name. THe table name is global in the same AWS account.
Source:

Methods

setAutoScaling(minCapacity, maxCapacity, target)

Set the auto scaling for the table and its index. If maxCapacity <= 0, it means switching the auto scaling off.
Parameters:
Name Type Description
minCapacity int minimum throughput capacity
maxCapacity int maximum throughput capacity
target string optional, to set which one (table or GSI) the auto scaling applies. Notice: does not support this parameter for now.
Source:

setProperties()

Use the properties attribute instead.
Deprecated:
  • Yes
Source: