Select your cookie preferences

We use cookies and similar tools to enhance your experience, provide our services, deliver relevant advertising, and make improvements. Approved third parties also use these tools to help us deliver advertising and provide certain site features.

cdk-dynamo-table-viewer

An AWS CDK construct which exposes an endpoint with the contents of a DynamoDB table


Community icon

Community

75 Weekly downloads

Author Amazon Web Services

Published

Repository github.com

License Apache-2.0

Registry www.npmjs.com


pip install cdk-dynamo-table-view==0.2.488

TableViewerProps

Initializer

import cdk_dynamo_table_view
cdk_dynamo_table_view.TableViewerProps(
table: ITable,
endpoint_type: EndpointType = None,
sort_by: str = None,
title: str = None
)

Properties

NameTypeDescription
tableITableThe DynamoDB table to view.
endpoint_typeEndpointTypeThe endpoint type of the LambdaRestApi that will be created.
sort_bystrName of the column to sort by, prefix with "-" for descending order.
titlestrThe web page title.
tableRequired
table: ITable

The DynamoDB table to view.

Note that all contents of this table will be visible to the public.

endpoint_typeOptional
endpoint_type: EndpointType

The endpoint type of the LambdaRestApi that will be created.

sort_byOptional
sort_by: str
  • Type: str
  • Default: No sort

Name of the column to sort by, prefix with "-" for descending order.

titleOptional
title: str
  • Type: str
  • Default: No title

The web page title.