com.github.eladb:cdk-dynamo-table-viewer

cdk-dynamo-table-viewer

License

License

GroupId

GroupId

com.github.eladb
ArtifactId

ArtifactId

cdk-dynamo-table-viewer
Last Version

Last Version

3.1.2
Release Date

Release Date

Type

Type

jar
Description

Description

com.github.eladb:cdk-dynamo-table-viewer
cdk-dynamo-table-viewer
Project URL

Project URL

https://github.com/eladb/cdk-dynamo-table-viewer.git
Source Code Management

Source Code Management

https://github.com/eladb/cdk-dynamo-table-viewer.git

Download cdk-dynamo-table-viewer

How to add to project

<!-- https://jarcasting.com/artifacts/com.github.eladb/cdk-dynamo-table-viewer/ -->
<dependency>
    <groupId>com.github.eladb</groupId>
    <artifactId>cdk-dynamo-table-viewer</artifactId>
    <version>3.1.2</version>
</dependency>
// https://jarcasting.com/artifacts/com.github.eladb/cdk-dynamo-table-viewer/
implementation 'com.github.eladb:cdk-dynamo-table-viewer:3.1.2'
// https://jarcasting.com/artifacts/com.github.eladb/cdk-dynamo-table-viewer/
implementation ("com.github.eladb:cdk-dynamo-table-viewer:3.1.2")
'com.github.eladb:cdk-dynamo-table-viewer:jar:3.1.2'
<dependency org="com.github.eladb" name="cdk-dynamo-table-viewer" rev="3.1.2">
  <artifact name="cdk-dynamo-table-viewer" type="jar" />
</dependency>
@Grapes(
@Grab(group='com.github.eladb', module='cdk-dynamo-table-viewer', version='3.1.2')
)
libraryDependencies += "com.github.eladb" % "cdk-dynamo-table-viewer" % "3.1.2"
[com.github.eladb/cdk-dynamo-table-viewer "3.1.2"]

Dependencies

compile (5)

Group / Artifact Type Version
software.amazon.awscdk : apigateway jar [1.20.0,2.0.0)
software.amazon.awscdk : dynamodb jar [1.20.0,2.0.0)
software.amazon.awscdk : lambda jar [1.20.0,2.0.0)
software.amazon.awscdk : core jar [1.20.0,2.0.0)
software.amazon.jsii : jsii-runtime jar [0.21.1,0.22.0)

provided (1)

Group / Artifact Type Version
javax.annotation : javax.annotation-api jar [1.3.2,)

Project Modules

There are no modules declared in this project.

cdk-dynamo-table-viewer

An AWS CDK construct which exposes a public HTTP endpoint which displays an HTML page with the contents of a DynamoDB table in your stack.

SECURITY NOTE: this construct was built for demonstration purposes and using it in production is probably a really bad idea. It exposes the entire contents of a DynamoDB table in your account to the general public.

The library is published under the following names:

Language Repository
JavaScript/TypeScript cdk-dynamo-table-viewer
Python cdk-dynamo-table-viewer
.NET Eladb.DynamoTableViewer
Java com.github.eladb/cdk-dynamo-table-viewer

Usage (TypeScript/JavaScript)

Install via npm:

$ npm i cdk-dynamo-table-viewer

Add to your CDK stack:

import { TableViewer } from 'cdk-dynamo-table-viewer'

const viewer = new TableViewer(this, 'CookiesViewer', {
  table: cookiesTable,
  title: 'Cookie Sales', // optional
  sortBy: '-sales'       // optional ("-" denotes descending order)
});

Notes:

  • The endpoint will be available (as an deploy-time value) under viewer.endpoint. It will also be exported as a stack output.
  • Paging is not supported. This means that only the first 1MB of items will be displayed (again, this is a demo...)
  • Supports CDK version 0.38.0 and above

License

Apache 2.0

Versions

Version
3.1.2
3.1.1
3.1.0
3.0.7
3.0.6
3.0.5