1.0.3 • Published 1 year ago
@equinox-js/dynamo-store-cdk v1.0.3
@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 buildcompile typescript to jsnpm run watchwatch for changes and compilenpm run testperform the jest unit tests
1.0.2
2 years ago
1.0.3
1 year ago
1.0.1
2 years ago
1.0.0
2 years ago
1.0.0-rc.10
2 years ago
1.0.0-rc.9
2 years ago
1.0.0-rc.8.2
2 years ago
1.0.0-rc.8.1
2 years ago
1.0.0-rc.8
2 years ago
1.0.0-rc.7
2 years ago
1.0.0-rc.6.6
2 years ago
1.0.0-rc.6.5
2 years ago
1.0.0-rc.6.4
2 years ago
1.0.0-rc.6.3
2 years ago
1.0.0-rc.6.2
2 years ago
1.0.0-rc.6.1
2 years ago
1.0.0-rc.5
2 years ago
1.0.0-rc.4
2 years ago
1.0.0-rc.3
2 years ago
1.0.0-rc.2
2 years ago
1.0.0-rc.1
2 years ago
1.0.0-alpha.27.2
2 years ago
1.0.0-alpha.27.1
2 years ago
1.0.0-alpha.27
2 years ago