1.0.0 • Published 7 days ago
@equinox-js/dynamo-store-cdk v1.0.0
@equinox-js/dynamo-store-cdk
Usage
import * as cdk from "aws-cdk-lib"
import { Construct } from "constructs"
import { DynamoStore } from "@equinox-js/dynamo-store-cdk"
import * as dynamodb from "aws-cdk-lib/aws-dynamodb"
export class Stack extends cdk.Stack {
constructor(scope: Construct, id: string, props?: cdk.StackProps) {
super(scope, id, props)
new DynamoStore(this, "DynamoStoreStack", {
eventsTable: {
tableName: "events",
tableClass: dynamodb.TableClass.STANDARD,
billingMode: dynamodb.BillingMode.PAY_PER_REQUEST,
stream: dynamodb.StreamViewType.NEW_IMAGE,
},
indexTable: {
tableName: "events_index",
tableClass: dynamodb.TableClass.STANDARD,
billingMode: dynamodb.BillingMode.PAY_PER_REQUEST,
},
lambdaBatchSize: 1000,
})
}
}
Contributing
You should explore the contents of this project. It demonstrates a CDK Construct Library that includes a construct (Cdk
)
which contains an Amazon SQS queue that is subscribed to an Amazon SNS topic.
The construct defines an interface (CdkProps
) to configure the visibility timeout of the queue.
Useful commands
npm run build
compile typescript to jsnpm run watch
watch for changes and compilenpm run test
perform the jest unit tests
1.0.0
7 days ago
1.0.0-rc.10
3 months ago
1.0.0-rc.9
4 months ago
1.0.0-rc.8.2
4 months ago
1.0.0-rc.8.1
5 months ago
1.0.0-rc.8
5 months ago
1.0.0-rc.7
6 months ago
1.0.0-rc.6.6
6 months ago
1.0.0-rc.6.5
6 months ago
1.0.0-rc.6.4
6 months ago
1.0.0-rc.6.3
7 months ago
1.0.0-rc.6.2
7 months ago
1.0.0-rc.6.1
7 months ago
1.0.0-rc.5
8 months ago
1.0.0-rc.4
8 months ago
1.0.0-rc.3
8 months ago
1.0.0-rc.2
8 months ago
1.0.0-rc.1
8 months ago
1.0.0-alpha.27.2
8 months ago
1.0.0-alpha.27.1
8 months ago
1.0.0-alpha.27
8 months ago