cdk-dynamo-table-viewer
An AWS CDK construct which exposes an endpoint with the contents of a DynamoDB table
pip install cdk-dynamo-table-view==0.2.488
TableViewerProps
import cdk_dynamo_table_viewcdk_dynamo_table_view.TableViewerProps(table: ITable,endpoint_type: EndpointType = None,sort_by: str = None,title: str = None)
Name | Type | Description |
---|---|---|
table | ITable | The DynamoDB table to view. |
endpoint_type | EndpointType | The endpoint type of the LambdaRestApi that will be created. |
sort_by | str | Name of the column to sort by, prefix with "-" for descending order. |
title | str | The web page title. |
table: ITable
- Type: ITable
The DynamoDB table to view.
Note that all contents of this table will be visible to the public.
endpoint_type: EndpointType
- Type: EndpointType
- Default: EDGE
The endpoint type of the LambdaRestApi that will be created.
sort_by: str
- Type: str
- Default: No sort
Name of the column to sort by, prefix with "-" for descending order.
title: str
- Type: str
- Default: No title
The web page title.
Use the snippets below in your Git repositories or elsewhere to add a button that links to this package. The button will automatically update to light mode or dark mode based on whether the user's client has requested a light or dark theme.
[](https://constructs.dev/packages/cdk-dynamo-table-viewer)
<a href="https://constructs.dev/packages/cdk-dynamo-table-viewer"><img src="https://constructs.dev/badge?package=cdk-dynamo-table-viewer" alt="View on Construct Hub"/></a>