One Observability Workshop v3.0.0
One Observability Workshop / constructs/dynamodb / DynamoDatabase
Class: DynamoDatabase¶
Defined in: constructs/dynamodb.ts:59
AWS CDK Construct that creates DynamoDatabase table with CloudWatch alarms for pet adoption DynamoDb
Extends¶
Construct
Constructors¶
Constructor¶
new DynamoDatabase(
scope,id,properties?):DynamoDatabase
Defined in: constructs/dynamodb.ts:75
Creates a new DynamoDatabase construct with table and monitoring alarms Creates read and write throttle event alarms with configurable thresholds
Parameters¶
scope¶
Construct
The parent construct
id¶
string
The construct ID
properties?¶
Configuration properties for the construct (required)
Returns¶
DynamoDatabase
Overrides¶
Construct.constructor
Properties¶
petAdoptionTable¶
petAdoptionTable:
Table
Defined in: constructs/dynamodb.ts:64
The DynamoDatabase table for storing pet adoption data
petFoodsTable¶
petFoodsTable:
Table
Defined in: constructs/dynamodb.ts:65
petFoodsCartTable¶
petFoodsCartTable:
Table
Defined in: constructs/dynamodb.ts:66
Methods¶
importFromExports()¶
staticimportFromExports(scope,id):object
Defined in: constructs/dynamodb.ts:203
Parameters¶
scope¶
Construct
id¶
string
Returns¶
object
table¶
table:
ITable
petFoodsTable¶
petFoodsTable:
ITable
petFoodsCartTable¶
petFoodsCartTable:
ITable
createOutputs()¶
createOutputs():
void
Defined in: constructs/dynamodb.ts:227
Returns¶
void